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

Make none driver work as regular user (use sudo on demand) #9379

Merged
merged 3 commits into from
Dec 9, 2020

Conversation

Git-Jiro
Copy link
Contributor

@Git-Jiro Git-Jiro commented Oct 2, 2020

Ref #3760

This almost works:
minikube start --vm-driver=none --kubernetes-version=1.17.0

  • minikube v1.13.1 on Ubuntu 18.04
  • Using the none driver based on user configuration
  • Starting control plane node minikube in cluster minikube
  • Running on localhost (CPUs=4, Memory=7449MB, Disk=38545MB) ...
  • OS release is Ubuntu 18.04.5 LTS
  • Preparing Kubernetes v1.17.0 on Docker 19.03.13 ...
    • kubelet.resolv-conf=/run/systemd/resolve/resolv.conf
      ! initialization failed, will try again: run: /bin/bash -c "sudo env PATH=/var/lib/minikube/binaries/v1.17.0:$PATH kubeadminit > --config /var/tmp/minikube/kubeadm.yaml --ignore-preflight-errors=DirAvailable--etc-kubernetes-manifests,DirAvailable--var-lib-minikube,DirAvailable--var-lib-minikube-etcd,FileAvailable--etc- kubernetes-manifests-kube-scheduler.yaml,FileAvailable--etc-kubernetes-manifests-kube-ap
      iserver.yaml,FileAvailable--etc-kubernetes-manifests-kube-controller-manager.yaml,FileAvailable--etc-kubernetes-manifests-etcd.yaml,Port-10250,Swap": exit status 126
      stdout:

stderr:
env: ‘kubeadm’: Permission denied`

sudo chmod 711 /var/lib/minikube/binaries/v1.17.0/*
minikube start --vm-driver=none --kubernetes-version=1.17.0
minikube kubectl -- get pods -A

So the only open issue is how to properly set those permissions on /var/lib/minikube/binaries/v1.17.0/*

@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. labels Oct 2, 2020
@k8s-ci-robot
Copy link
Contributor

Welcome @Git-Jiro!

It looks like this is your first PR to kubernetes/minikube 🎉. Please refer to our pull request process documentation to help your PR have a smooth ride to approval.

You will be prompted by a bot to use commands during the review process. Do not be afraid to follow the prompts! It is okay to experiment. Here is the bot commands documentation.

You can also check if kubernetes/minikube has its own contribution guidelines.

You may want to refer to our testing guide if you run into trouble with your tests not passing.

If you are having difficulty getting your pull request seen, please follow the recommended escalation practices. Also, for tips and tricks in the contribution process you may want to read the Kubernetes contributor cheat sheet. We want to make sure your contribution gets all the attention it needs!

Thank you, and welcome to Kubernetes. 😃

@k8s-ci-robot
Copy link
Contributor

Hi @Git-Jiro. 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 needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Oct 2, 2020
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

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

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

Needs approval from an approver in each of these files:

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

@k8s-ci-robot k8s-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Oct 2, 2020
@TravisBuddy
Copy link

Travis tests have failed

Hey @Git-Jiro,
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.13.1 -X k8s.io/minikube/pkg/version.isoVersion=v1.13.1 -X k8s.io/minikube/pkg/version.isoPath=minikube/iso -X k8s.io/minikube/pkg/version.gitCommitID="944be114aeca4d78439371c2d663da6eb76450c6" -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
WARN [runner] Can't run linter goanalysis_metalinter: S1005: failed prerequisites: [(inspect@k8s.io/minikube/pkg/minikube/registry/drvs/none, isgenerated@k8s.io/minikube/pkg/minikube/registry/drvs/none): analysis skipped: errors in package: [/home/travis/gopath/src/github.com/kubernetes/minikube/pkg/minikube/registry/drvs/none/none.go:63:12: undeclared name: user /home/travis/gopath/src/github.com/kubernetes/minikube/pkg/minikube/registry/drvs/none/none.go:63:9: no new variables on left side of :=]] 
WARN [runner] Can't run linter unused: buildir: analysis skipped: errors in package: [/home/travis/gopath/src/github.com/kubernetes/minikube/pkg/minikube/registry/drvs/none/none.go:63:12: undeclared name: user /home/travis/gopath/src/github.com/kubernetes/minikube/pkg/minikube/registry/drvs/none/none.go:63:9: no new variables on left side of :=] 
ERRO Running error: buildir: analysis skipped: errors in package: [/home/travis/gopath/src/github.com/kubernetes/minikube/pkg/minikube/registry/drvs/none/none.go:63:12: undeclared name: user /home/travis/gopath/src/github.com/kubernetes/minikube/pkg/minikube/registry/drvs/none/none.go:63:9: no new variables on left side of :=] 
Makefile:439: recipe for target 'lint-ci' failed
make[1]: *** [lint-ci] Error 3
= go mod ================================================================
ok
= boilerplate ===========================================================
ok
Makefile:320: recipe for target 'test' failed
make: *** [test] Error 4

2nd Build

View build log

make
cmake version 3.12.4
heroku version
heroku/7.42.1 linux-x64 node-v12.16.2
imagemagick version
Version: ImageMagick 6.8.9-9 Q16 x86_64 2019-11-12 http://www.imagemagick.org
md5deep version
4.4
mercurial version
version 4.8
mysql version
mysql  Ver 14.14 Distrib 5.7.30, for Linux (x86_64) using  EditLine wrapper
openssl version
OpenSSL 1.0.2g  1 Mar 2016
packer version
1.3.3
postgresql client version
psql (PostgreSQL) 10.13 (Ubuntu 10.13-1.pgdg16.04+1)
ragel version
Ragel State Machine Compiler version 6.8 Feb 2013
sudo version
1.8.16
gzip version
gzip 1.6
zip version
Zip 3.0
vim version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Mar 18 2020 14:06:17)
iptables version
iptables v1.6.0
curl version
curl 7.47.0 (x86_64-pc-linux-gnu) libcurl/7.47.0 GnuTLS/3.4.10 zlib/1.2.8 libidn/1.32 librtmp/2.3
wget version
GNU Wget 1.17.1 built on linux-gnu.
rsync version
rsync  version 3.1.1  protocol version 31
gimme version
v1.5.4
nvm version
0.35.3
perlbrew version
/home/travis/perl5/perlbrew/bin/perlbrew  - App::perlbrew/0.88
phpenv version
rbenv 1.1.2-30-gc879cb0
rvm version
rvm 1.29.10 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
default ruby version
ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-linux]
CouchDB version
couchdb 1.6.1
ElasticSearch version
5.5.0
Installed Firefox version
firefox 63.0.1
MongoDB version
MongoDB 4.0.19
PhantomJS version
2.1.1
Pre-installed PostgreSQL versions
9.4.26
9.5.22
9.6.18
Redis version
redis-server 6.0.5
Pre-installed Go versions
1.11.1
ant version
Apache Ant(TM) version 1.9.6 compiled on July 20 2018
mvn version
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
gradle version
Gradle 5.1.1!
lein version
Leiningen 2.9.3 on Java 11.0.2 OpenJDK 64-Bit Server VM
Pre-installed Node.js versions
v10.21.0
v11.0.0
v12.18.1
v4.9.1
v6.17.1
v8.12.0
v8.17.0
v8.9
phpenv versions
  system
  5.6
  5.6.40
  7.1
  7.1.27
  7.2
* 7.2.15 (set by /home/travis/.phpenv/version)
  hhvm
  hhvm-stable
composer --version
Composer version 1.8.4 2019-02-11 10:52:10
Pre-installed Ruby versions
ruby-2.3.8
ruby-2.4.5
ruby-2.5.3

Updating gimme

$ git clone --depth=50 https://github.com/kubernetes/minikube.git kubernetes/minikube
Cloning into 'kubernetes/minikube'...
remote: Enumerating objects: 14550, done.
remote: Counting objects: 100% (14550/14550), done.
remote: Compressing objects: 100% (5069/5069), done.
remote: Total 14550 (delta 9892), reused 12921 (delta 8827), pack-reused 0
Receiving objects: 100% (14550/14550), 67.15 MiB | 28.96 MiB/s, done.
Resolving deltas: 100% (9892/9892), done.
Updating files: 100% (1081/1081), done.
$ cd kubernetes/minikube
$ git fetch origin +refs/pull/9379/merge:
remote: Enumerating objects: 24, done.
remote: Counting objects: 100% (24/24), done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 13 (delta 11), reused 11 (delta 10), pack-reused 0
Unpacking objects: 100% (13/13), 1.69 KiB | 578.00 KiB/s, done.
From https://github.com/kubernetes/minikube
 * branch            refs/pull/9379/merge -> FETCH_HEAD
$ git checkout -qf FETCH_HEAD

$ git submodule update --init --recursive
Submodule 'site/themes/docsy' (https://github.com/google/docsy.git) registered for path 'site/themes/docsy'
Cloning into '/home/travis/build/kubernetes/minikube/site/themes/docsy'...
Submodule path 'site/themes/docsy': checked out 'dd303fd19cc13ffc01bcbe86ff54f21e423d04de'
Submodule 'assets/vendor/Font-Awesome' (https://github.com/FortAwesome/Font-Awesome.git) registered for path 'site/themes/docsy/assets/vendor/Font-Awesome'
Submodule 'assets/vendor/bootstrap' (https://github.com/twbs/bootstrap.git) registered for path 'site/themes/docsy/assets/vendor/bootstrap'
Cloning into '/home/travis/build/kubernetes/minikube/site/themes/docsy/assets/vendor/Font-Awesome'...
Cloning into '/home/travis/build/kubernetes/minikube/site/themes/docsy/assets/vendor/bootstrap'...
Submodule path 'site/themes/docsy/assets/vendor/Font-Awesome': checked out '538a5bc4cf7989821d052e3ff919e2bead07021c'
Submodule path 'site/themes/docsy/assets/vendor/bootstrap': checked out '3b558734382ce58b51e5fc676453bfd53bba9201'
$ travis_export_go 1.14.6 github.com/kubernetes/minikube

Setting environment variables from .travis.yml
$ export GOPROXY=https://proxy.golang.org

$ travis_setup_go
go version go1.14.6 linux/amd64
$ export GOPATH="/home/travis/gopath"
$ export 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"
$ export GO111MODULE="auto"
$ gimme version
v1.5.4
$ go version
go version go1.14.6 linux/amd64
$ go env
GO111MODULE="auto"
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/travis/.cache/go-build"
GOENV="/home/travis/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/travis/gopath"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org"
GOROOT="/home/travis/.gimme/versions/go1.14.6.linux.amd64"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/travis/.gimme/versions/go1.14.6.linux.amd64/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/travis/gopath/src/github.com/kubernetes/minikube/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build393272309=/tmp/go-build -gno-record-gcc-switches"
$ travis_install_go_dependencies 1.14.6 -v
Makefile detected
$ make
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
go build  -tags "container_image_ostree_stub containers_image_openpgp go_getter_nos3 go_getter_nogcs" -ldflags="-X k8s.io/minikube/pkg/version.version=v1.13.1 -X k8s.io/minikube/pkg/version.isoVersion=v1.13.1 -X k8s.io/minikube/pkg/version.isoPath=minikube/iso -X k8s.io/minikube/pkg/version.gitCommitID="944be114aeca4d78439371c2d663da6eb76450c6" -X k8s.io/minikube/pkg/version.storageProvisionerVersion=v3" -o out/minikube k8s.io/minikube/cmd/minikube
go: downloading github.com/pkg/profile v0.0.0-20161223203901-3a8809bd8a80
go: downloading github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
go: downloading github.com/machine-drivers/machine v0.7.1-0.20200810185219-7d42fed1b770
go: downloading github.com/afbjorklund/go-containerregistry v0.0.0-20200902152226-fbad78ec2813
go: downloading github.com/blang/semver v3.5.0+incompatible
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/spf13/pflag v1.0.5
go: downloading golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a
go: downloading golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6
go: downloading github.com/spf13/cobra v1.0.0
go: downloading github.com/pkg/browser v0.0.0-20160118053552-9302be274faa
go: downloading k8s.io/kubectl v0.17.3
go: downloading github.com/afbjorklund/go-getter v1.4.1-0.20190910175809-eb9f6c26742c
go: downloading google.golang.org/api v0.25.0
go: downloading k8s.io/client-go v0.17.3
go: downloading github.com/shirou/gopsutil v2.18.12+incompatible
go: downloading k8s.io/apimachinery v0.17.3
go: downloading github.com/mitchellh/go-ps v0.0.0-20190716172923-621e5597135b
go: downloading github.com/docker/cli v0.0.0-20200303162255-7d407207c304
go: downloading github.com/machine-drivers/docker-machine-driver-vmware v0.1.1
go: downloading github.com/hashicorp/go-cleanhttp v0.5.1
go: downloading github.com/docker/docker v1.4.2-0.20190924003213-a8608b5b67c7
go: downloading github.com/cheggaaa/pb v1.0.27
go: downloading github.com/cheggaaa/pb/v3 v3.0.1
go: downloading k8s.io/api v0.17.3
go: downloading cloud.google.com/go v0.57.0
go: downloading github.com/VividCortex/ewma v1.1.1
go: downloading github.com/mattn/go-isatty v0.0.12
go: downloading golang.org/x/text v0.3.2
go: downloading github.com/pkg/errors v0.9.1
go: downloading k8s.io/kubernetes v1.18.5
go: downloading github.com/otiai10/copy v1.0.2
go: downloading github.com/hashicorp/go-safetemp v1.0.0
go: downloading golang.org/x/sys v0.0.0-20200523222454-059865788121
go: downloading cloud.google.com/go/storage v1.8.0
go: downloading github.com/cenkalti/backoff v2.2.1+incompatible
go: downloading github.com/gogo/protobuf v1.3.1
go: downloading github.com/juju/mutex v0.0.0-20180619145857-d21b13acf4bf
go: downloading go.opencensus.io v0.22.3
go: downloading golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2
go: downloading github.com/intel-go/cpuid v0.0.0-20181003105527-1a4a6f06a1c6
go: downloading github.com/mattn/go-runewidth v0.0.7
go: downloading github.com/sayboras/dockerclient v1.0.0
go: downloading google.golang.org/grpc v1.29.1
go: downloading github.com/juju/errors v0.0.0-20190806202954-0232dcc7464d
go: downloading github.com/sirupsen/logrus v1.6.0
go: downloading github.com/spf13/viper v1.7.0
go: downloading gopkg.in/ini.v1 v1.56.0
go: downloading github.com/mitchellh/go-homedir v1.1.0
go: downloading github.com/hashicorp/hcl v1.0.0
go: downloading go.uber.org/zap v1.10.0
go: downloading github.com/googleapis/gax-go v2.0.2+incompatible
go: downloading github.com/fatih/color v1.9.0
go: downloading github.com/magiconair/properties v1.8.1
go: downloading github.com/ulikunitz/xz v0.5.7
go: downloading github.com/googleapis/gax-go/v2 v2.0.5
go: downloading github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e
go: downloading github.com/russross/blackfriday v1.5.3-0.20200218234912-41c5fccfd6f6
go: downloading go.uber.org/atomic v1.4.0
go: downloading github.com/opencontainers/go-digest v1.0.0-rc1
go: downloading github.com/mitchellh/mapstructure v1.3.1
go: downloading google.golang.org/genproto v0.0.0-20200527145253-8367513e4ece
go: downloading github.com/docker/go-connections v0.4.0
go: downloading github.com/docker/distribution v2.7.1+incompatible
go: downloading github.com/opencontainers/image-spec v1.0.1
go: downloading github.com/olekukonko/tablewriter v0.0.4
go: downloading github.com/spf13/afero v1.2.2
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading github.com/pelletier/go-toml v1.8.0
go: downloading github.com/cloudfoundry-attic/jibber_jabber v0.0.0-20151120183258-bcc4c8345a21
go: downloading github.com/docker/docker-credential-helpers v0.6.3
go: downloading github.com/hashicorp/go-version v1.2.0
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/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51
go: downloading github.com/google/uuid v1.1.1
go: downloading github.com/docker/go-units v0.4.0
go: downloading github.com/containerd/containerd v1.3.1-0.20191213020239-082f7e3aed57
go: downloading sigs.k8s.io/yaml v1.2.0
go: downloading github.com/spf13/jwalterweatherman v1.1.0
go: downloading github.com/MakeNowJust/heredoc v0.0.0-20170808103936-bb23615498cd
go: downloading github.com/subosito/gotenv v1.2.0
go: downloading github.com/google/slowjam v0.0.0-20200530021616-df27e642fe7b
go: downloading k8s.io/utils v0.0.0-20200324210504-a9aa75ae1b89
go: downloading github.com/google/gofuzz v1.1.0
go: downloading github.com/fsnotify/fsnotify v1.4.9
go: downloading github.com/juju/clock v0.0.0-20190205081909-9c5c9712527c
go: downloading github.com/golang/protobuf v1.4.2
go: downloading google.golang.org/protobuf v1.24.0
go: downloading gopkg.in/inf.v0 v0.9.1
go: downloading github.com/mitchellh/go-wordwrap v1.0.0
go: downloading k8s.io/cluster-bootstrap v0.17.3
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/mitchellh/go-testing-interface v1.0.0
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/cpuguy83/go-md2man v1.0.10
go: downloading github.com/hashicorp/golang-lru v0.5.3
go: downloading github.com/json-iterator/go v1.1.9
go: downloading k8s.io/component-base v0.17.3
go: downloading gopkg.in/yaml.v2 v2.3.0
go: downloading github.com/cpuguy83/go-md2man/v2 v2.0.0
go: downloading github.com/google/go-cmp v0.4.1
go: downloading github.com/spf13/cast v1.3.1
go: downloading github.com/phayes/freeport v0.0.0-20180830031419-95f893ade6f2
go: downloading k8s.io/klog v1.0.0
go: downloading go.uber.org/multierr v1.1.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 github.com/russross/blackfriday/v2 v2.0.1
go: downloading github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96
go: downloading github.com/googleapis/gnostic v0.3.0
go: downloading github.com/shurcooL/sanitized_anchor_name v1.0.0
# k8s.io/minikube/pkg/minikube/registry/drvs/none
pkg/minikube/registry/drvs/none/none.go:63:9: no new variables on left side of :=
pkg/minikube/registry/drvs/none/none.go:63:12: undefined: user
Makefile:187: recipe for target 'out/minikube' failed
make: *** [out/minikube] Error 2
TravisBuddy Request Identifier: 7d16af20-049c-11eb-a4bc-1b94c014fd22

@minikube-bot
Copy link
Collaborator

Can one of the admins verify this patch?

@Git-Jiro Git-Jiro force-pushed the none_driver_nonroot branch from 8f76416 to 5fd7f48 Compare October 2, 2020 11:11
@TravisBuddy
Copy link

Travis tests have failed

Hey @Git-Jiro,
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.13.1 -X k8s.io/minikube/pkg/version.isoVersion=v1.13.1 -X k8s.io/minikube/pkg/version.isoPath=minikube/iso -X k8s.io/minikube/pkg/version.gitCommitID="cf23d1f9dc7cbee1050809f02ca817f057ff7437" -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
WARN [runner] Can't run linter goanalysis_metalinter: buildir: failed to load package command: could not load export data: no export data for "k8s.io/minikube/pkg/minikube/command" 
WARN [runner] Can't run linter unused: buildir: analysis skipped: errors in package: [/home/travis/gopath/src/github.com/kubernetes/minikube/pkg/minikube/command/exec_runner.go:93:10: undeclared name: runtime /home/travis/gopath/src/github.com/kubernetes/minikube/pkg/minikube/command/exec_runner.go:116:9: undeclared name: runtime /home/travis/gopath/src/github.com/kubernetes/minikube/pkg/minikube/command/exec_runner.go:143:9: undeclared name: runtime -: could not load export data: no export data for "k8s.io/minikube/pkg/minikube/command"] 
ERRO Running error: buildir: analysis skipped: errors in package: [/home/travis/gopath/src/github.com/kubernetes/minikube/pkg/minikube/command/exec_runner.go:93:10: undeclared name: runtime /home/travis/gopath/src/github.com/kubernetes/minikube/pkg/minikube/command/exec_runner.go:116:9: undeclared name: runtime /home/travis/gopath/src/github.com/kubernetes/minikube/pkg/minikube/command/exec_runner.go:143:9: undeclared name: runtime -: could not load export data: no export data for "k8s.io/minikube/pkg/minikube/command"] 
Makefile:439: recipe for target 'lint-ci' failed
make[1]: *** [lint-ci] Error 3
= go mod ================================================================
ok
Makefile:320: recipe for target 'test' failed
make: *** [test] Error 4

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.13.1 -X k8s.io/minikube/pkg/version.isoVersion=v1.13.1 -X k8s.io/minikube/pkg/version.isoPath=minikube/iso -X k8s.io/minikube/pkg/version.gitCommitID="cf23d1f9dc7cbee1050809f02ca817f057ff7437" -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/golang/glog v0.0.0-20160126235308-23def4e6c14b
go: downloading github.com/pkg/browser v0.0.0-20160118053552-9302be274faa
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/golang-collections/collections v0.0.0-20130729185459-604e922904d3
go: downloading github.com/phayes/freeport v0.0.0-20180830031419-95f893ade6f2
go: downloading k8s.io/client-go v0.17.3
go: downloading github.com/afbjorklund/go-containerregistry v0.0.0-20200902152226-fbad78ec2813
go: downloading k8s.io/api v0.17.3
go: downloading github.com/opencontainers/go-digest v1.0.0-rc1
go: downloading github.com/juju/mutex v0.0.0-20180619145857-d21b13acf4bf
go: downloading golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a
go: downloading k8s.io/klog v1.0.0
go: downloading github.com/shirou/gopsutil v2.18.12+incompatible
go: downloading cloud.google.com/go v0.57.0
go: downloading github.com/google/slowjam v0.0.0-20200530021616-df27e642fe7b
go: downloading golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
go: downloading github.com/afbjorklund/go-getter v1.4.1-0.20190910175809-eb9f6c26742c
go: downloading k8s.io/kubernetes v1.18.5
go: downloading github.com/juju/errors v0.0.0-20190806202954-0232dcc7464d
go: downloading github.com/aws/aws-sdk-go v1.31.6
go: downloading github.com/blang/semver v3.5.0+incompatible
go: downloading github.com/sayboras/dockerclient v1.0.0
go: downloading github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d
go: downloading github.com/google/gofuzz v1.1.0
go: downloading github.com/ulikunitz/xz v0.5.7
go: downloading github.com/hooklift/iso9660 v0.0.0-20170318115843-1cf07e5970d8
go: downloading golang.org/x/text v0.3.2
go: downloading github.com/mitchellh/go-testing-interface v1.0.0
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/gogo/protobuf v1.3.1
go: downloading github.com/pkg/errors v0.9.1
go: downloading github.com/hashicorp/go-version v1.2.0
go: downloading github.com/googleapis/gnostic v0.3.0
go: downloading github.com/pkg/profile v0.0.0-20161223203901-3a8809bd8a80
go: downloading golang.org/x/crypto v0.0.0-20200510223506-06a226fb4e37
go: downloading google.golang.org/genproto v0.0.0-20200527145253-8367513e4ece
go: downloading google.golang.org/api v0.25.0
go: downloading golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6
go: downloading github.com/golang/protobuf v1.4.2
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/mitchellh/go-homedir v1.1.0
go: downloading google.golang.org/protobuf v1.24.0
go: downloading github.com/prometheus/client_golang v1.4.1
go: downloading go.opencensus.io v0.22.3
go: downloading github.com/docker/go-units v0.4.0
go: downloading github.com/olekukonko/tablewriter v0.0.4
go: downloading github.com/spf13/viper v1.7.0
go: downloading github.com/cloudfoundry-attic/jibber_jabber v0.0.0-20151120183258-bcc4c8345a21
go: downloading google.golang.org/grpc v1.29.1
go: downloading github.com/intel-go/cpuid v0.0.0-20181003105527-1a4a6f06a1c6
go: downloading github.com/otiai10/copy v1.0.2
go: downloading github.com/mitchellh/go-ps v0.0.0-20190716172923-621e5597135b
go: downloading github.com/prometheus/client_model v0.2.0
go: downloading github.com/cloudevents/sdk-go/v2 v2.1.0
go: downloading github.com/hashicorp/hcl v1.0.0
go: downloading github.com/google/uuid v1.1.1
go: downloading golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2
go: downloading k8s.io/kubectl v0.17.3
go: downloading k8s.io/utils v0.0.0-20200324210504-a9aa75ae1b89
go: downloading github.com/spf13/jwalterweatherman v1.1.0
go: downloading gopkg.in/inf.v0 v0.9.1
go: downloading github.com/magiconair/properties v1.8.1
go: downloading golang.org/x/time v0.0.0-20200416051211-89c76fbcd5d1
go: downloading gopkg.in/yaml.v2 v2.3.0
go: downloading github.com/mitchellh/mapstructure v1.3.1
go: downloading github.com/subosito/gotenv v1.2.0
go: downloading gopkg.in/ini.v1 v1.56.0
go: downloading github.com/c4milo/gotoolkit v0.0.0-20170318115440-bcc06269efa9
go: downloading github.com/miekg/dns v1.1.27
go: downloading github.com/fsnotify/fsnotify v1.4.9
go: downloading github.com/pelletier/go-toml v1.8.0
go: downloading github.com/spf13/afero v1.2.2
go: downloading go.uber.org/zap v1.10.0
go: downloading github.com/googleapis/gax-go v2.0.2+incompatible
go: downloading github.com/spf13/cobra v1.0.0
go: downloading github.com/hashicorp/go-cleanhttp v0.5.1
go: downloading github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e
go: downloading github.com/hashicorp/go-safetemp v1.0.0
go: downloading github.com/mattn/go-isatty v0.0.12
go: downloading github.com/docker/cli v0.0.0-20200303162255-7d407207c304
go: downloading github.com/juju/clock v0.0.0-20190205081909-9c5c9712527c
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/googleapis/gax-go/v2 v2.0.5
go: downloading github.com/google/go-github v17.0.0+incompatible
go: downloading github.com/docker/docker v1.4.2-0.20190924003213-a8608b5b67c7
go: downloading github.com/MakeNowJust/heredoc v0.0.0-20170808103936-bb23615498cd
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading github.com/lightstep/tracecontext.go v0.0.0-20181129014701-1757c391b1ac
go: downloading go.uber.org/atomic v1.4.0
go: downloading golang.org/x/sys v0.0.0-20200523222454-059865788121
go: downloading github.com/cenkalti/backoff v2.2.1+incompatible
go: downloading github.com/russross/blackfriday v1.5.3-0.20200218234912-41c5fccfd6f6
go: downloading k8s.io/cluster-bootstrap v0.17.3
go: downloading github.com/mattn/go-runewidth v0.0.7
go: downloading github.com/prometheus/procfs v0.0.8
go: downloading github.com/prometheus/common v0.9.1
go: downloading github.com/jmespath/go-jmespath v0.3.0
go: downloading github.com/google/go-cmp v0.4.1
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/imdario/mergo v0.3.9
go: downloading github.com/mitchellh/go-wordwrap v1.0.0
go: downloading k8s.io/component-base v0.17.3
go: downloading github.com/google/go-querystring v1.0.0
go: downloading github.com/cheggaaa/pb v1.0.27
go: downloading github.com/cheggaaa/pb/v3 v3.0.1
go: downloading github.com/spf13/cast v1.3.1
go: downloading github.com/machine-drivers/docker-machine-driver-vmware v0.1.1
go: downloading github.com/hashicorp/golang-lru v0.5.3
go: downloading github.com/cespare/xxhash v1.1.0
go: downloading github.com/VividCortex/ewma v1.1.1
go: downloading github.com/cespare/xxhash/v2 v2.1.1
go: downloading github.com/mattn/go-colorable v0.1.6
go: downloading k8s.io/kube-openapi v0.0.0-20200410145947-61e04a5be9a6
go: downloading go.uber.org/multierr v1.1.0
go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1
go: downloading github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96
go: downloading github.com/modern-go/reflect2 v1.0.1
go: downloading sigs.k8s.io/yaml v1.2.0
go: downloading github.com/fatih/color v1.9.0
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/docker/docker-credential-helpers v0.6.3
go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
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 github.com/shurcooL/sanitized_anchor_name v1.0.0
go: downloading github.com/opencontainers/image-spec v1.0.1
go: downloading github.com/docker/go-connections v0.4.0
go: downloading github.com/docker/distribution v2.7.1+incompatible
go: downloading github.com/containerd/containerd v1.3.1-0.20191213020239-082f7e3aed57
go: downloading github.com/sirupsen/logrus v1.6.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
# k8s.io/minikube/pkg/minikube/command
pkg/minikube/command/exec_runner.go:93:10: undefined: runtime
pkg/minikube/command/exec_runner.go:116:9: undefined: runtime
pkg/minikube/command/exec_runner.go:143:9: undefined: runtime
FAIL	k8s.io/minikube/cmd/minikube/cmd [build failed]
FAIL	k8s.io/minikube/cmd/minikube/cmd/config [build failed]
FAIL	k8s.io/minikube/pkg/addons [build failed]
ok  	k8s.io/minikube/pkg/drivers	0.011s	coverage: 19.6% of statements
ok  	k8s.io/minikube/pkg/drivers/hyperkit	0.006s	coverage: 77.3% of statements
ok  	k8s.io/minikube/pkg/drivers/kic/oci	0.024s	coverage: 6.6% of statements
# k8s.io/minikube/pkg/minikube/command [k8s.io/minikube/pkg/minikube/command.test]
pkg/minikube/command/exec_runner.go:93: undefined: runtime in runtime.goos
pkg/minikube/command/exec_runner.go:116: undefined: runtime in runtime.goos
pkg/minikube/command/exec_runner.go:143: undefined: runtime in runtime.goos
ok  	k8s.io/minikube/pkg/drivers/kvm	0.050s	coverage: 2.3% of statements
FAIL	k8s.io/minikube/pkg/minikube/bootstrapper [build failed]
FAIL	k8s.io/minikube/pkg/minikube/bootstrapper/bsutil [build failed]
ok  	k8s.io/minikube/pkg/minikube/bootstrapper/bsutil/ktmpl	0.022s	coverage: 100.0% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper/images	0.006s	coverage: 82.0% of statements
FAIL	k8s.io/minikube/pkg/minikube/cluster [build failed]
FAIL	k8s.io/minikube/pkg/minikube/command [build failed]
ok  	k8s.io/minikube/pkg/minikube/config	0.296s	coverage: 68.1% of statements
FAIL	k8s.io/minikube/pkg/minikube/cruntime [build failed]
FAIL	k8s.io/minikube/pkg/minikube/docker [build failed]
ok  	k8s.io/minikube/pkg/minikube/driver	0.028s	coverage: 37.6% of statements
ok  	k8s.io/minikube/pkg/minikube/extract	0.007s	coverage: 58.6% of statements
ok  	k8s.io/minikube/pkg/minikube/image	0.042s	coverage: 3.0% of statements
ok  	k8s.io/minikube/pkg/minikube/kubeconfig	0.034s	coverage: 81.2% of statements
ok  	k8s.io/minikube/pkg/minikube/localpath	0.005s	coverage: 49.3% of statements
FAIL	k8s.io/minikube/pkg/minikube/logs [build failed]
FAIL	k8s.io/minikube/pkg/minikube/machine [build failed]
FAIL	k8s.io/minikube/pkg/minikube/mustload [build failed]
ok  	k8s.io/minikube/pkg/minikube/notify	0.032s	coverage: 92.9% of statements
ok  	k8s.io/minikube/pkg/minikube/out	0.071s	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.018s	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.010s	coverage: 75.5% of statements
FAIL	k8s.io/minikube/pkg/minikube/service [build failed]
ok  	k8s.io/minikube/pkg/minikube/shell	0.002s	coverage: 97.1% of statements
ok  	k8s.io/minikube/pkg/minikube/storageclass	0.035s	coverage: 100.0% of statements
ok  	k8s.io/minikube/pkg/minikube/style	0.009s	coverage: 100.0% of statements
FAIL	k8s.io/minikube/pkg/minikube/sysinit [build failed]
ok  	k8s.io/minikube/pkg/minikube/translate	0.004s	coverage: 10.5% of statements
FAIL	k8s.io/minikube/pkg/minikube/tunnel [build failed]
ok  	k8s.io/minikube/pkg/util	0.684s	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.003s	coverage: 0.0% of statements
FAIL
Makefile:320: recipe for target 'test' failed
make: *** [test] Error 32

3rd Build

View build log

make
cmake version 3.12.4
heroku version
heroku/7.42.1 linux-x64 node-v12.16.2
imagemagick version
Version: ImageMagick 6.8.9-9 Q16 x86_64 2019-11-12 http://www.imagemagick.org
md5deep version
4.4
mercurial version
version 4.8
mysql version
mysql  Ver 14.14 Distrib 5.7.30, for Linux (x86_64) using  EditLine wrapper
openssl version
OpenSSL 1.0.2g  1 Mar 2016
packer version
1.3.3
postgresql client version
psql (PostgreSQL) 10.13 (Ubuntu 10.13-1.pgdg16.04+1)
ragel version
Ragel State Machine Compiler version 6.8 Feb 2013
sudo version
1.8.16
gzip version
gzip 1.6
zip version
Zip 3.0
vim version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Mar 18 2020 14:06:17)
iptables version
iptables v1.6.0
curl version
curl 7.47.0 (x86_64-pc-linux-gnu) libcurl/7.47.0 GnuTLS/3.4.10 zlib/1.2.8 libidn/1.32 librtmp/2.3
wget version
GNU Wget 1.17.1 built on linux-gnu.
rsync version
rsync  version 3.1.1  protocol version 31
gimme version
v1.5.4
nvm version
0.35.3
perlbrew version
/home/travis/perl5/perlbrew/bin/perlbrew  - App::perlbrew/0.88
phpenv version
rbenv 1.1.2-30-gc879cb0
rvm version
rvm 1.29.10 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
default ruby version
ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-linux]
CouchDB version
couchdb 1.6.1
ElasticSearch version
5.5.0
Installed Firefox version
firefox 63.0.1
MongoDB version
MongoDB 4.0.19
PhantomJS version
2.1.1
Pre-installed PostgreSQL versions
9.4.26
9.5.22
9.6.18
Redis version
redis-server 6.0.5
Pre-installed Go versions
1.11.1
ant version
Apache Ant(TM) version 1.9.6 compiled on July 20 2018
mvn version
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
gradle version
Gradle 5.1.1!
lein version
Leiningen 2.9.3 on Java 11.0.2 OpenJDK 64-Bit Server VM
Pre-installed Node.js versions
v10.21.0
v11.0.0
v12.18.1
v4.9.1
v6.17.1
v8.12.0
v8.17.0
v8.9
phpenv versions
  system
  5.6
  5.6.40
  7.1
  7.1.27
  7.2
* 7.2.15 (set by /home/travis/.phpenv/version)
  hhvm
  hhvm-stable
composer --version
Composer version 1.8.4 2019-02-11 10:52:10
Pre-installed Ruby versions
ruby-2.3.8
ruby-2.4.5
ruby-2.5.3

Updating gimme

$ git clone --depth=50 https://github.com/kubernetes/minikube.git kubernetes/minikube
Cloning into 'kubernetes/minikube'...
remote: Enumerating objects: 13890, done.
remote: Counting objects: 100% (13890/13890), done.
remote: Compressing objects: 100% (4874/4874), done.
remote: Total 13890 (delta 9411), reused 12310 (delta 8404), pack-reused 0
Receiving objects: 100% (13890/13890), 67.00 MiB | 31.86 MiB/s, done.
Resolving deltas: 100% (9411/9411), done.
Updating files: 100% (1081/1081), done.
$ cd kubernetes/minikube
$ git fetch origin +refs/pull/9379/merge:
remote: Enumerating objects: 45, done.
remote: Counting objects: 100% (38/38), done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 23 (delta 19), reused 18 (delta 15), pack-reused 0
Unpacking objects: 100% (23/23), 2.74 KiB | 560.00 KiB/s, done.
From https://github.com/kubernetes/minikube
 * branch            refs/pull/9379/merge -> FETCH_HEAD
$ git checkout -qf FETCH_HEAD

$ git submodule update --init --recursive
Submodule 'site/themes/docsy' (https://github.com/google/docsy.git) registered for path 'site/themes/docsy'
Cloning into '/home/travis/build/kubernetes/minikube/site/themes/docsy'...
Submodule path 'site/themes/docsy': checked out 'dd303fd19cc13ffc01bcbe86ff54f21e423d04de'
Submodule 'assets/vendor/Font-Awesome' (https://github.com/FortAwesome/Font-Awesome.git) registered for path 'site/themes/docsy/assets/vendor/Font-Awesome'
Submodule 'assets/vendor/bootstrap' (https://github.com/twbs/bootstrap.git) registered for path 'site/themes/docsy/assets/vendor/bootstrap'
Cloning into '/home/travis/build/kubernetes/minikube/site/themes/docsy/assets/vendor/Font-Awesome'...
Cloning into '/home/travis/build/kubernetes/minikube/site/themes/docsy/assets/vendor/bootstrap'...
Submodule path 'site/themes/docsy/assets/vendor/Font-Awesome': checked out '538a5bc4cf7989821d052e3ff919e2bead07021c'
Submodule path 'site/themes/docsy/assets/vendor/bootstrap': checked out '3b558734382ce58b51e5fc676453bfd53bba9201'
$ travis_export_go 1.14.6 github.com/kubernetes/minikube

Setting environment variables from .travis.yml
$ export GOPROXY=https://proxy.golang.org

$ travis_setup_go
go version go1.14.6 linux/amd64
$ export GOPATH="/home/travis/gopath"
$ export 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"
$ export GO111MODULE="auto"
$ gimme version
v1.5.4
$ go version
go version go1.14.6 linux/amd64
$ go env
GO111MODULE="auto"
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/travis/.cache/go-build"
GOENV="/home/travis/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/travis/gopath"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org"
GOROOT="/home/travis/.gimme/versions/go1.14.6.linux.amd64"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/travis/.gimme/versions/go1.14.6.linux.amd64/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/travis/gopath/src/github.com/kubernetes/minikube/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build435034894=/tmp/go-build -gno-record-gcc-switches"
$ travis_install_go_dependencies 1.14.6 -v
Makefile detected
$ make
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
go build  -tags "container_image_ostree_stub containers_image_openpgp go_getter_nos3 go_getter_nogcs" -ldflags="-X k8s.io/minikube/pkg/version.version=v1.13.1 -X k8s.io/minikube/pkg/version.isoVersion=v1.13.1 -X k8s.io/minikube/pkg/version.isoPath=minikube/iso -X k8s.io/minikube/pkg/version.gitCommitID="cf23d1f9dc7cbee1050809f02ca817f057ff7437" -X k8s.io/minikube/pkg/version.storageProvisionerVersion=v3" -o out/minikube k8s.io/minikube/cmd/minikube
go: downloading github.com/pkg/profile v0.0.0-20161223203901-3a8809bd8a80
go: downloading github.com/machine-drivers/machine v0.7.1-0.20200810185219-7d42fed1b770
go: downloading github.com/mattn/go-isatty v0.0.12
go: downloading github.com/pkg/errors v0.9.1
go: downloading github.com/spf13/viper v1.7.0
go: downloading github.com/cloudevents/sdk-go/v2 v2.1.0
go: downloading github.com/google/slowjam v0.0.0-20200530021616-df27e642fe7b
go: downloading github.com/google/uuid v1.1.1
go: downloading github.com/subosito/gotenv v1.2.0
go: downloading github.com/spf13/cast v1.3.1
go: downloading github.com/magiconair/properties v1.8.1
go: downloading github.com/hashicorp/hcl v1.0.0
go: downloading github.com/pelletier/go-toml v1.8.0
go: downloading github.com/afbjorklund/go-containerregistry v0.0.0-20200902152226-fbad78ec2813
go: downloading golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6
go: downloading github.com/shirou/gopsutil v2.18.12+incompatible
go: downloading golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a
go: downloading github.com/spf13/afero v1.2.2
go: downloading golang.org/x/sys v0.0.0-20200523222454-059865788121
go: downloading gopkg.in/ini.v1 v1.56.0
go: downloading github.com/cenkalti/backoff v2.2.1+incompatible
go: downloading gopkg.in/yaml.v2 v2.3.0
go: downloading github.com/docker/go-units v0.4.0
go: downloading github.com/afbjorklund/go-getter v1.4.1-0.20190910175809-eb9f6c26742c
go: downloading github.com/cloudfoundry-attic/jibber_jabber v0.0.0-20151120183258-bcc4c8345a21
go: downloading k8s.io/client-go v0.17.3
go: downloading github.com/fsnotify/fsnotify v1.4.9
go: downloading github.com/docker/docker v1.4.2-0.20190924003213-a8608b5b67c7
go: downloading k8s.io/apimachinery v0.17.3
go: downloading github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
go: downloading golang.org/x/text v0.3.2
go: downloading github.com/intel-go/cpuid v0.0.0-20181003105527-1a4a6f06a1c6
go: downloading github.com/sayboras/dockerclient v1.0.0
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/mitchellh/mapstructure v1.3.1
go: downloading github.com/mitchellh/go-homedir v1.1.0
go: downloading go.opencensus.io v0.22.3
go: downloading github.com/juju/mutex v0.0.0-20180619145857-d21b13acf4bf
go: downloading github.com/cheggaaa/pb v1.0.27
go: downloading k8s.io/kubernetes v1.18.5
go: downloading google.golang.org/api v0.25.0
go: downloading github.com/hashicorp/go-safetemp v1.0.0
go: downloading github.com/cheggaaa/pb/v3 v3.0.1
go: downloading github.com/juju/errors v0.0.0-20190806202954-0232dcc7464d
go: downloading golang.org/x/crypto v0.0.0-20200510223506-06a226fb4e37
go: downloading github.com/spf13/jwalterweatherman v1.1.0
go: downloading go.uber.org/zap v1.10.0
go: downloading github.com/docker/cli v0.0.0-20200303162255-7d407207c304
go: downloading github.com/mattn/go-colorable v0.1.6
go: downloading github.com/mitchellh/go-testing-interface v1.0.0
go: downloading github.com/google/gofuzz v1.1.0
go: downloading github.com/fatih/color v1.9.0
go: downloading go.uber.org/atomic v1.4.0
go: downloading cloud.google.com/go v0.57.0
go: downloading github.com/hashicorp/go-version v1.2.0
go: downloading github.com/imdario/mergo v0.3.9
go: downloading github.com/ulikunitz/xz v0.5.7
go: downloading github.com/docker/go-connections v0.4.0
go: downloading github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e
go: downloading github.com/hashicorp/go-cleanhttp v0.5.1
go: downloading github.com/VividCortex/ewma v1.1.1
go: downloading go.uber.org/multierr v1.1.0
go: downloading github.com/gogo/protobuf v1.3.1
go: downloading github.com/mitchellh/go-ps v0.0.0-20190716172923-621e5597135b
go: downloading k8s.io/kubectl v0.17.3
go: downloading cloud.google.com/go/storage v1.8.0
go: downloading github.com/blang/semver v3.5.0+incompatible
go: downloading k8s.io/api v0.17.3
go: downloading github.com/opencontainers/go-digest v1.0.0-rc1
go: downloading github.com/otiai10/copy v1.0.2
go: downloading github.com/spf13/cobra v1.0.0
go: downloading golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2
go: downloading google.golang.org/grpc v1.29.1
go: downloading k8s.io/utils v0.0.0-20200324210504-a9aa75ae1b89
go: downloading github.com/juju/clock v0.0.0-20190205081909-9c5c9712527c
go: downloading github.com/russross/blackfriday v1.5.3-0.20200218234912-41c5fccfd6f6
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/genproto v0.0.0-20200527145253-8367513e4ece
go: downloading github.com/MakeNowJust/heredoc v0.0.0-20170808103936-bb23615498cd
go: downloading k8s.io/klog v1.0.0
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading github.com/olekukonko/tablewriter v0.0.4
go: downloading github.com/pkg/browser v0.0.0-20160118053552-9302be274faa
go: downloading gopkg.in/inf.v0 v0.9.1
go: downloading github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51
go: downloading github.com/docker/distribution v2.7.1+incompatible
go: downloading github.com/machine-drivers/docker-machine-driver-vmware v0.1.1
go: downloading golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
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/time v0.0.0-20200416051211-89c76fbcd5d1
go: downloading github.com/json-iterator/go v1.1.9
go: downloading sigs.k8s.io/yaml v1.2.0
go: downloading github.com/mattn/go-runewidth v0.0.7
go: downloading github.com/golang/protobuf v1.4.2
go: downloading github.com/modern-go/reflect2 v1.0.1
go: downloading github.com/googleapis/gnostic v0.3.0
go: downloading github.com/russross/blackfriday/v2 v2.0.1
go: downloading google.golang.org/protobuf v1.24.0
go: downloading github.com/lightstep/tracecontext.go v0.0.0-20181129014701-1757c391b1ac
go: downloading github.com/shurcooL/sanitized_anchor_name v1.0.0
go: downloading github.com/containerd/containerd v1.3.1-0.20191213020239-082f7e3aed57
go: downloading github.com/mitchellh/go-wordwrap v1.0.0
go: downloading github.com/opencontainers/image-spec v1.0.1
go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96
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/golang-lru v0.5.3
go: downloading k8s.io/cluster-bootstrap v0.17.3
go: downloading github.com/sirupsen/logrus v1.6.0
go: downloading github.com/google/go-cmp v0.4.1
go: downloading k8s.io/component-base v0.17.3
go: downloading github.com/docker/docker-credential-helpers v0.6.3
# k8s.io/minikube/pkg/minikube/command
pkg/minikube/command/exec_runner.go:93:10: undefined: runtime
pkg/minikube/command/exec_runner.go:116:9: undefined: runtime
pkg/minikube/command/exec_runner.go:143:9: undefined: runtime
Makefile:187: recipe for target 'out/minikube' failed
make: *** [out/minikube] Error 2
TravisBuddy Request Identifier: c1160e40-065f-11eb-a99f-97db2ffc4a93

@Git-Jiro Git-Jiro force-pushed the none_driver_nonroot branch from fc8ea8d to 190d0a3 Compare October 4, 2020 16:37
@Git-Jiro
Copy link
Contributor Author

Git-Jiro commented Oct 4, 2020

Hi @tstromberg!
Now I can reproduce the same error i have locally with the functional_baremetal_ubuntu18_04 test.
Any ideas why functional_virtualbox_macos is always failing at the same test case?

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.

I know this is WIP I am excited for this PR ! thanks for starting it

@Git-Jiro

@Git-Jiro
Copy link
Contributor Author

Git-Jiro commented Oct 6, 2020

/retest

@k8s-ci-robot
Copy link
Contributor

@Git-Jiro: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

In response to this:

/retest

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.

@Git-Jiro
Copy link
Contributor Author

Git-Jiro commented Oct 6, 2020

@medyagh can you give me an ok-to-test?
Seems like I was able to test this PR without an ok-to-test label until now.

@Git-Jiro
Copy link
Contributor Author

Git-Jiro commented Oct 7, 2020

/retest

@k8s-ci-robot
Copy link
Contributor

@Git-Jiro: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

In response to this:

/retest

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.

@sharifelgamal
Copy link
Collaborator

/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 Oct 7, 2020
@Git-Jiro
Copy link
Contributor Author

Git-Jiro commented Oct 7, 2020

/retest

@kubernetes kubernetes deleted a comment from minikube-pr-bot Oct 7, 2020
@minikube-pr-bot
Copy link

kvm2 Driver
Times for minikube: 59.7s 58.9s 60.5s
Average time for minikube: 59.7s

Times for Minikube (PR 9379): 59.5s 54.6s 61.3s
Average time for Minikube (PR 9379): 58.4s

Averages Time Per Log

+--------------------------------+----------+--------------------+
|              LOG               | MINIKUBE | MINIKUBE (PR 9379) |
+--------------------------------+----------+--------------------+
| * minikube v1.14.0-beta.0 on   | 0.1s     | 0.0s               |
| Debian 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,    | 35.1s    | 34.0s              |
| Memory=3700MB, Disk=20000MB)   |          |                    |
| ...                            |          |                    |
| * Preparing Kubernetes v1.19.2 | 22.6s    | 21.9s              |
| on Docker 19.03.12 ...         |          |                    |
| * Verifying Kubernetes         | 1.6s     | 1.7s               |
| components...                  |          |                    |
| * Enabled addons:              | 0.4s     |                    |
| 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"   |          |                    |
| by default                     |          |                    |
+--------------------------------+----------+--------------------+

docker Driver
Times for minikube: 28.8s 28.4s 28.9s
Average time for minikube: 28.7s

Times for Minikube (PR 9379): 29.2s 27.1s 28.3s
Average time for Minikube (PR 9379): 28.2s

Averages Time Per Log

+--------------------------------+----------+--------------------+
|              LOG               | MINIKUBE | MINIKUBE (PR 9379) |
+--------------------------------+----------+--------------------+
| * minikube v1.14.0-beta.0 on   | 0.2s     | 0.2s               |
| Debian 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.0s               |
| (CPUs=2, Memory=3700MB) ...    |          |                    |
| * Preparing Kubernetes v1.19.2 | 18.3s    | 17.8s              |
| on Docker 19.03.8 ...          |          |                    |
| * Verifying Kubernetes         | 1.1s     | 1.0s               |
| components...                  |          |                    |
| * Enabled addons:              | 0.1s     | 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"   |          |                    |
| by default                     |          |                    |
+--------------------------------+----------+--------------------+

@Git-Jiro
Copy link
Contributor Author

Git-Jiro commented Oct 8, 2020

/retest

@Git-Jiro
Copy link
Contributor Author

/skip

@Git-Jiro
Copy link
Contributor Author

/test ?

@k8s-ci-robot
Copy link
Contributor

@Git-Jiro: The following commands are available to trigger jobs:

  • /test pull-minikube-platform-tests

In response to this:

/test ?

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.

@Git-Jiro
Copy link
Contributor Author

/test pull-minikube-platform-tests

@k8s-ci-robot
Copy link
Contributor

@Git-Jiro: The following test failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
pull-minikube-platform-tests 27e4c3e link /test pull-minikube-platform-tests

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

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. I understand the commands that are listed here.

@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Oct 13, 2020
@Git-Jiro Git-Jiro force-pushed the none_driver_nonroot branch from 27e4c3e to 278a8cd Compare October 14, 2020 05:35
@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Oct 14, 2020
@codecov-io
Copy link

codecov-io commented Oct 14, 2020

Codecov Report

Merging #9379 into master will decrease coverage by 0.00%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #9379      +/-   ##
==========================================
- Coverage   29.05%   29.04%   -0.01%     
==========================================
  Files         171      172       +1     
  Lines       10444    10488      +44     
==========================================
+ Hits         3034     3046      +12     
- Misses       6988     7017      +29     
- Partials      422      425       +3     
Impacted Files Coverage Δ
cmd/minikube/cmd/start.go 9.30% <0.00%> (-0.09%) ⬇️
pkg/minikube/command/exec_runner.go 0.00% <0.00%> (ø)
pkg/minikube/driver/driver.go 60.00% <0.00%> (ø)
cmd/minikube/cmd/start_flags.go 47.04% <0.00%> (-0.13%) ⬇️
pkg/addons/addons.go 35.26% <0.00%> (ø)
pkg/minikube/machine/ssh.go 0.00% <0.00%> (ø)
pkg/minikube/driver/install.go 8.95% <0.00%> (ø)
pkg/minikube/driver/version.go 73.33% <0.00%> (ø)
cmd/minikube/cmd/status.go 10.84% <0.00%> (+0.04%) ⬆️

@Git-Jiro Git-Jiro changed the title [WIP] Make none driver work as regular user (use sudo on demand) Make none driver work as regular user (use sudo on demand) Oct 14, 2020
@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 Oct 14, 2020
@Git-Jiro
Copy link
Contributor Author

/retest

cmd/minikube/cmd/start.go Show resolved Hide resolved
pkg/minikube/command/exec_runner.go Show resolved Hide resolved
@minikube-pr-bot
Copy link

kvm2 Driver
Times for minikube: 64.8s 62.7s 60.0s
Average time for minikube: 62.5s

Times for Minikube (PR 9379): 61.8s 58.3s 62.2s
Average time for Minikube (PR 9379): 60.8s

Averages Time Per Log

+--------------------------------+----------+--------------------+
|              LOG               | MINIKUBE | MINIKUBE (PR 9379) |
+--------------------------------+----------+--------------------+
| * minikube v1.14.0 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,    | 36.2s    | 33.9s              |
| Memory=3700MB, Disk=20000MB)   |          |                    |
| ...                            |          |                    |
| * Preparing Kubernetes v1.19.2 | 24.5s    | 24.6s              |
| on Docker 19.03.12 ...         |          |                    |
| * Verifying Kubernetes         | 1.6s     | 1.7s               |
| components...                  |          |                    |
| * Enabled addons:              | 0.2s     | 0.7s               |
| 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"   |          |                    |
| by default                     |          |                    |
+--------------------------------+----------+--------------------+

docker Driver
Times for minikube: 29.7s 29.2s 30.0s
Average time for minikube: 29.6s

Times for Minikube (PR 9379): 28.3s 29.2s 29.1s
Average time for Minikube (PR 9379): 28.9s

Averages Time Per Log

+--------------------------------+----------+--------------------+
|              LOG               | MINIKUBE | MINIKUBE (PR 9379) |
+--------------------------------+----------+--------------------+
| * minikube v1.14.0 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.1s     | 9.1s               |
| (CPUs=2, Memory=3700MB) ...    |          |                    |
| * Preparing Kubernetes v1.19.2 | 19.0s    | 18.4s              |
| on Docker 19.03.8 ...          |          |                    |
| * Verifying Kubernetes         | 1.1s     | 1.0s               |
| 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"   |          |                    |
| by default                     |          |                    |
+--------------------------------+----------+--------------------+

@Git-Jiro Git-Jiro requested a review from medyagh October 16, 2020 16:49
cmd/minikube/cmd/start.go Outdated Show resolved Hide resolved
pkg/minikube/command/exec_runner.go Outdated Show resolved Hide resolved
pkg/minikube/driver/driver.go Show resolved Hide resolved
@Git-Jiro
Copy link
Contributor Author

Once everything is fine I will squash the commits.

@minikube-pr-bot
Copy link

kvm2 Driver
Times for minikube: 67.5s 64.7s 67.8s
Average time for minikube: 66.7s

Times for Minikube (PR 9379): 68.3s 66.0s 67.2s
Average time for Minikube (PR 9379): 67.2s

Averages Time Per Log

+--------------------------------+----------+--------------------+
|              LOG               | MINIKUBE | MINIKUBE (PR 9379) |
+--------------------------------+----------+--------------------+
| * minikube v1.14.0 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,    | 39.7s    | 37.7s              |
| Memory=3700MB, Disk=20000MB)   |          |                    |
| ...                            |          |                    |
| * Preparing Kubernetes v1.19.2 | 24.2s    | 27.2s              |
| on Docker 19.03.12 ...         |          |                    |
| * Verifying Kubernetes         | 1.8s     | 1.7s               |
| components...                  |          |                    |
| * Enabled addons:              | 0.8s     | 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"   |          |                    |
| by default                     |          |                    |
+--------------------------------+----------+--------------------+

docker Driver
Times for minikube: 30.2s 29.9s 29.4s
Average time for minikube: 29.8s

Times for Minikube (PR 9379): 29.6s 30.9s 31.8s
Average time for Minikube (PR 9379): 30.8s

Averages Time Per Log

+--------------------------------+----------+--------------------+
|              LOG               | MINIKUBE | MINIKUBE (PR 9379) |
+--------------------------------+----------+--------------------+
| * minikube v1.14.0 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.6s     | 9.7s               |
| (CPUs=2, Memory=3700MB) ...    |          |                    |
| * Preparing Kubernetes v1.19.2 | 18.5s    | 19.4s              |
| on Docker 19.03.8 ...          |          |                    |
| * Verifying Kubernetes         | 1.2s     | 1.2s               |
| 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"   |          |                    |
| by default                     |          |                    |
+--------------------------------+----------+--------------------+

@Git-Jiro Git-Jiro force-pushed the none_driver_nonroot branch from e065c02 to 427daf6 Compare November 1, 2020 14:09
@minikube-pr-bot
Copy link

kvm2 Driver
Times for minikube: 63.7s 63.1s 64.5s
Average time for minikube: 63.7s

Times for Minikube (PR 9379): 65.9s 63.4s 65.1s
Average time for Minikube (PR 9379): 64.8s

Averages Time Per Log

+--------------------------------+----------+--------------------+
|              LOG               | MINIKUBE | MINIKUBE (PR 9379) |
+--------------------------------+----------+--------------------+
| * minikube v1.14.2 on Debian   | 0.1s     |                    |
|                           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,    | 36.8s    | 36.7s              |
| Memory=3700MB, Disk=20000MB)   |          |                    |
| ...                            |          |                    |
| * Preparing Kubernetes v1.19.2 | 24.7s    | 25.7s              |
| on Docker 19.03.12 ...         |          |                    |
| * Verifying Kubernetes         | 1.9s     | 2.1s               |
| components...                  |          |                    |
| * Enabled addons:              | 0.3s     | 0.3s               |
| 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"   |          |                    |
| by default                     |          |                    |
+--------------------------------+----------+--------------------+

docker Driver
Times for minikube: 31.7s 31.3s 30.0s
Average time for minikube: 31.0s

Times for Minikube (PR 9379): 29.2s 29.8s 31.4s
Average time for Minikube (PR 9379): 30.1s

Averages Time Per Log

+--------------------------------+----------+--------------------+
|              LOG               | MINIKUBE | MINIKUBE (PR 9379) |
+--------------------------------+----------+--------------------+
| * minikube v1.14.2 on Debian   | 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.8s     | 9.5s               |
| (CPUs=2, Memory=3700MB) ...    |          |                    |
| * Preparing Kubernetes v1.19.2 | 19.5s    | 19.0s              |
| on Docker 19.03.8 ...          |          |                    |
| * Verifying Kubernetes         | 1.3s     | 1.2s               |
| components...                  |          |                    |
| * Enabled addons:              | 0.1s     | 0.1s               |
| storage-provisioner,           |          |                    |
| default-storageclass           |          |                    |
|                                | 0.0s     | 0.2s               |
| * Want kubectl v1.19.2? Try    |          |                    |
| 'minikube kubectl -- get pods  |          |                    |
| -A'                            |          |                    |
| * Done! kubectl is now         |          |                    |
| configured to use "minikube"   |          |                    |
| by default                     |          |                    |
+--------------------------------+----------+--------------------+

@Git-Jiro Git-Jiro requested a review from tstromberg November 6, 2020 20:41
@tstromberg
Copy link
Contributor

/ok-to-test

@minikube-pr-bot
Copy link

kvm2 Driver
Times for minikube: 61.4s 59.3s 60.6s
Average time for minikube: 60.4s

Times for Minikube (PR 9379): 60.5s 58.9s 58.2s
Average time for Minikube (PR 9379): 59.2s

Averages Time Per Log

+--------------------------------+----------+--------------------+
|              LOG               | MINIKUBE | MINIKUBE (PR 9379) |
+--------------------------------+----------+--------------------+
| * minikube v1.15.1 on Debian   | 0.1s     | 0.1s               |
|                           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,    | 36.4s    | 34.2s              |
| Memory=3700MB, Disk=20000MB)   |          |                    |
| ...                            |          |                    |
| * Preparing Kubernetes v1.19.4 | 22.3s    | 22.5s              |
| on Docker 19.03.13 ...         |          |                    |
| * Verifying Kubernetes         | 1.6s     | 1.8s               |
| components...                  |          |                    |
| * Enabled addons:              | 0.1s     | 0.4s               |
| storage-provisioner,           |          |                    |
| default-storageclass           |          |                    |
|                                | 0.0s     | 0.0s               |
|   - Want kubectl v1.19.4? 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: 29.7s 29.9s 28.8s
Average time for minikube: 29.5s

Times for Minikube (PR 9379): 31.2s 29.0s 30.6s
Average time for Minikube (PR 9379): 30.3s

Averages Time Per Log

+--------------------------------+----------+--------------------+
|              LOG               | MINIKUBE | MINIKUBE (PR 9379) |
+--------------------------------+----------+--------------------+
| * minikube v1.15.1 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.4s     | 9.3s               |
| (CPUs=2, Memory=3700MB) ...    |          |                    |
| * Preparing Kubernetes v1.19.4 | 18.4s    | 19.3s              |
| on Docker 19.03.13 ...         |          |                    |
| * Verifying Kubernetes         | 1.2s     | 1.2s               |
| components...                  |          |                    |
| * Enabled addons:              | 0.1s     | 0.1s               |
| storage-provisioner,           |          |                    |
| default-storageclass           |          |                    |
|                                | 0.0s     | 0.0s               |
|   - Want kubectl v1.19.4? Try  |          |                    |
| 'minikube kubectl -- get pods  |          |                    |
| -A'                            |          |                    |
| * Done! kubectl is now         |          |                    |
| configured to use "minikube"   |          |                    |
| cluster and "default"          |          |                    |
| namespace by default           |          |                    |
+--------------------------------+----------+--------------------+

@tstromberg
Copy link
Contributor

Thank you!

@tstromberg tstromberg merged commit c0a092e into kubernetes:master Dec 9, 2020
@afbjorklund
Copy link
Collaborator

Seems to break normal usage, by requiring "sudo" for simple copy commands...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.