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

WIP: Upgrade kindbase to later version and ubuntu:20.04 #8251

Closed
wants to merge 5 commits into from

Conversation

afbjorklund
Copy link
Collaborator

@afbjorklund afbjorklund commented May 22, 2020

Closes #8250 #8766 #8767

@afbjorklund afbjorklund requested a review from medyagh May 22, 2020 13:36
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels May 22, 2020
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: afbjorklund

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

The pull request process is described here

Needs approval from an approver in each of these files:

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 22, 2020
@codecov-commenter
Copy link

codecov-commenter commented May 22, 2020

Codecov Report

Merging #8251 into master will decrease coverage by 0.40%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #8251      +/-   ##
==========================================
- Coverage   34.46%   34.05%   -0.41%     
==========================================
  Files         147      153       +6     
  Lines        9428     9840     +412     
==========================================
+ Hits         3249     3351     +102     
- Misses       5780     6086     +306     
- Partials      399      403       +4     
Impacted Files Coverage Δ
pkg/minikube/perf/start.go 13.15% <0.00%> (-16.85%) ⬇️
cmd/minikube/cmd/docker-env.go 41.59% <0.00%> (-7.89%) ⬇️
pkg/minikube/driver/driver.go 58.87% <0.00%> (-1.13%) ⬇️
cmd/minikube/cmd/start.go 13.47% <0.00%> (-0.27%) ⬇️
cmd/minikube/cmd/root.go 58.33% <0.00%> (ø)
pkg/minikube/cluster/ip.go 0.00% <0.00%> (ø)
pkg/minikube/machine/fix.go 38.31% <0.00%> (ø)
pkg/minikube/machine/start.go 62.67% <0.00%> (ø)
pkg/minikube/driver/driver_linux.go 0.00% <0.00%> (ø)
pkg/minikube/perf/result_manager.go 0.00% <0.00%> (ø)
... and 12 more

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.

is possible to push it to a public registry and change the image to your -snapshot in the code so we can see the integration results ?

@afbjorklund
Copy link
Collaborator Author

is possible to push it to a public registry and change the image to your -snapshot in the code so we can see the integration results ?

It would be better to fix the code so that you could run a local snapshot without having to push it to some registry, but I suppose we can

@afbjorklund
Copy link
Collaborator Author

Unfortunately I think the current release procedure is off-limits to anyone without the gcr.io credentials, so I can't push any type of images. Not the build images, not the storage-provisioner, not this one...

@afbjorklund
Copy link
Collaborator Author

Hmm, today it seems like --base-image actually works ? Wonder what was the issue yesterday...

Successfully tagged gcr.io/k8s-minikube/kicbase:v0.0.10-snapshot

--base-image gcr.io/k8s-minikube/kicbase:v0.0.10-snapshot

😄  [kicbase] minikube v1.10.1 on Ubuntu 18.04
✨  Using the docker driver based on user configuration
👍  Starting control plane node kicbase in cluster kicbase
🔥  Creating docker container (CPUs=2, Memory=8000MB) ...
🐳  Preparing Kubernetes v1.18.2 on Docker 19.03.8 ...
    ▪ kubeadm.pod-network-cidr=10.244.0.0/16
❗  This container is having trouble accessing https://k8s.gcr.io
💡  To pull new external images, you may need to configure a proxy: https://minikube.sigs.k8s.io/docs/reference/networking/proxy/
🔎  Verifying Kubernetes components...
🌟  Enabled addons: default-storageclass, storage-provisioner
🏄  Done! kubectl is now configured to use "kicbase"
docker@kicbase:~$ cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

And I guess I need to bump the version too, to something like v0.0.11 - or maybe v0.1.1 ?

@afbjorklund
Copy link
Collaborator Author

afbjorklund commented May 23, 2020

@medyagh : try afbjorklund/kicbase:v0.0.10-snapshot

v0.0.10-snapshot: digest: sha256:729f74899c8619d817011cc365927a774be0d2f009a0ed1182dcd8d6a74db241 size: 4908

Based on kindest/base:v20200513-fd490400
In turn is based on ubuntu:focal-20200423


REPOSITORY                                                         TAG                                IMAGE ID            CREATED             SIZE
ubuntu                                                             20.04                              1d622ef86b13        4 weeks ago         73.9MB
kindest/base                                                       v20200513-fd490400                 c4b19ed8c9eb        9 days ago          284MB
gcr.io/k8s-minikube/kicbase                                        v0.0.10-snapshot                   4755e5c58e15        4 hours ago         942MB

Note that the digests are different, even though the contents are the same:

       "Id": "sha256:1d622ef86b138c7e96d4f797bf5e4baca3249f030c575b9337638594f2b63f01",
        "RepoTags": [
            "ubuntu:20.04",
            "ubuntu:focal-20200423"
        ],
        "RepoDigests": [
            "ubuntu@sha256:238e696992ba9913d24cfc3727034985abd136e08ee3067982401acdc30cbf3f",
            "ubuntu@sha256:8bce67040cd0ae39e0beb55bcb976a824d9966d2ac8d2e4bf6119b45505cee64"
        ],
       "Id": "sha256:4755e5c58e157fd3e08911822ce2d25bb75a27cb79528445d3fdd4bba746a7a9",
        "RepoTags": [
            "afbjorklund/kicbase:v0.0.10-snapshot",
            "gcr.io/k8s-minikube/kicbase:v0.0.10-snapshot"
        ],
        "RepoDigests": [
            "afbjorklund/kicbase@sha256:729f74899c8619d817011cc365927a774be0d2f009a0ed1182dcd8d6a74db241"
        ],

This is why it is so useless. (especially since my local image doesn't get one)

@medyagh
Copy link
Member

medyagh commented May 24, 2020

afbjorklund/kicbase:v0.0.10-snapshot

v0.0.10-snapshot: digest: sha256:729f74899c8619d817011cc365927a774be0d2f009a0ed1182dcd8d6a74db241 size: 4908

@afbjorklund can you please put that in the types.go in kic package so it triggers a test using that image? once it is good I will push it to gcr

@afbjorklund
Copy link
Collaborator Author

once it is good I will push it to gcr

But when you push it to gcr, it changes ?

@afbjorklund
Copy link
Collaborator Author

afbjorklund commented May 24, 2020

But you mean like do a separate PR, where changing the image ? Like a throwaway

Because it looks like the location is hardcoded:

pkg/drivers/kic/types.go:       BaseImage = fmt.Sprintf("gcr.io/k8s-minikube/kicbase:%s@sha256:%s", Version, baseImageSHA)
pkg/drivers/kic/types.go:       BaseImageFallBack = fmt.Sprintf("docker.pkg.github.com/kubernetes/minikube/kicbase:%s", Version)

afbjorklund added a commit to afbjorklund/minikube that referenced this pull request May 24, 2020
@afbjorklund
Copy link
Collaborator Author

is possible to push it to a public registry and change the image to your -snapshot in the code so we can see the integration results ?

Trying something out in #8262

Unfortunately upstream (opensuse devel:kubic:libcontainers) deletes
all old packages, so have to rebuild using the source .dsc package.

The files for building (.dsc and debian .tar.gz) are available at:
https://build.opensuse.org/package/show/devel:kubic:libcontainers:stable/podman?rev=137
@afbjorklund afbjorklund linked an issue May 24, 2020 that may be closed by this pull request
@tstromberg tstromberg removed their request for review May 29, 2020 19:41
Copy link
Contributor

@tstromberg tstromberg left a comment

Choose a reason for hiding this comment

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

PR looks good to me, but will defer to @medyagh because it isn't clear to me on how I can see the test results.

@afbjorklund
Copy link
Collaborator Author

it isn't clear to me on how I can see the test results.

me neither (a problem?), it seemed to work locally though

@afbjorklund
Copy link
Collaborator Author

afbjorklund commented May 30, 2020

It shouldn't be needed to downgrade podman anymore, can move to 1.9.3 instead (see #8063)

@medyagh
Copy link
Member

medyagh commented Jun 10, 2020

I don't think there were any major changes in #7884, besides forking/copying the entrypoint and trying to pin the package versions (something that we have shown that it doesn't work, a couple of times)

We didn't really come to a decision about #7788 on the meeting, there were some minor space savings to be had from it and we could clean up our Dockerfile by using the kindbase clean-install script.

But if we want to go that route, I could join the changes from it here: master...afbjorklund:kicbase

I still used the previous version of ubuntu (19.10) and the previous entrypoint, in that other discussion

I think we should move off kindbase so we install lastet version of containerd instead of nightly build so lets brings those changes here

@medyagh
Copy link
Member

medyagh commented Jun 11, 2020

plz update the version in the types.go to

// Version is the current version of kic
    Version = "v0.0.11"
    // SHA of the kic base image
    baseImageSHA = "742264bf43555709cfa141878b643de58961801ddf778e3cde8713495dd7bfec"

@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jun 12, 2020
@afbjorklund
Copy link
Collaborator Author

afbjorklund commented Jun 12, 2020

I think we should move off kindbase so we install lastet version of containerd instead of nightly build so lets brings those changes here

This image will still install the old containerd (as a docker requirement), so it's more a question of making the image a little smaller

EDIT: actually we still have both, and run the newer:

docker@kicbase:~$ containerd --version
containerd github.com/containerd/containerd v1.3.3-14-g449e9269 449e926990f8539fd00844b26c07e2f1e306c760
docker@kicbase:~$ /usr/bin/containerd --version
containerd github.com/containerd/containerd 1.3.3-0ubuntu2 

Because /etc/systemd overrides /usr/lib/systemd

@TravisBuddy
Copy link

Travis tests have failed

Hey @afbjorklund,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.

1st Build

View build log

make test
which go-bindata || GO111MODULE=off GOBIN="/home/travis/gopath/bin" go get github.com/jteeuwen/go-bindata/...
PATH="/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.13.8.linux.amd64/bin:/home/travis/bin:/home/travis/bin:/home/travis/.local/bin:/usr/local/lib/jvm/openjdk11/bin:/opt/pyenv/shims:/home/travis/.phpenv/shims:/home/travis/perl5/perlbrew/bin:/home/travis/.nvm/versions/node/v8.12.0/bin:/home/travis/.rvm/gems/ruby-2.5.3/bin:/home/travis/.rvm/gems/ruby-2.5.3@global/bin:/home/travis/.rvm/rubies/ruby-2.5.3/bin:/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.11.1.linux.amd64/bin:/usr/local/maven-3.6.0/bin:/usr/local/cmake-3.12.4/bin:/usr/local/clang-7.0.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/home/travis/.rvm/bin:/home/travis/.phpenv/bin:/opt/pyenv/bin:/home/travis/.yarn/bin:/home/travis/gopath/bin" go-bindata -nomemcopy -o pkg/minikube/assets/assets.go -pkg assets deploy/addons/...
gofmt -s -w pkg/minikube/assets/assets.go
which go-bindata || GO111MODULE=off GOBIN="/home/travis/gopath/bin" go get github.com/jteeuwen/go-bindata/...
/home/travis/gopath/bin/go-bindata
PATH="/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.13.8.linux.amd64/bin:/home/travis/bin:/home/travis/bin:/home/travis/.local/bin:/usr/local/lib/jvm/openjdk11/bin:/opt/pyenv/shims:/home/travis/.phpenv/shims:/home/travis/perl5/perlbrew/bin:/home/travis/.nvm/versions/node/v8.12.0/bin:/home/travis/.rvm/gems/ruby-2.5.3/bin:/home/travis/.rvm/gems/ruby-2.5.3@global/bin:/home/travis/.rvm/rubies/ruby-2.5.3/bin:/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.11.1.linux.amd64/bin:/usr/local/maven-3.6.0/bin:/usr/local/cmake-3.12.4/bin:/usr/local/clang-7.0.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/home/travis/.rvm/bin:/home/travis/.phpenv/bin:/opt/pyenv/bin:/home/travis/.yarn/bin:/home/travis/gopath/bin" go-bindata -nomemcopy -o pkg/minikube/translate/translations.go -pkg translate translations/...
gofmt -s -w pkg/minikube/translate/translations.go
MINIKUBE_LDFLAGS="-X k8s.io/minikube/pkg/version.version=v1.11.0 -X k8s.io/minikube/pkg/version.isoVersion=v1.11.0 -X k8s.io/minikube/pkg/version.isoPath=minikube/iso -X k8s.io/minikube/pkg/version.gitCommitID="abaa43ee64f455f5abb7a0e6effe8ad6bd6581dd"" ./test.sh
= schema_check ==========================================================
go: downloading github.com/xeipuuv/gojsonschema v0.0.0-20180618132009-1d523034197f
go: extracting github.com/xeipuuv/gojsonschema v0.0.0-20180618132009-1d523034197f
go: downloading github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415
go: extracting github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415
go: downloading github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f
go: extracting github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f
go: finding github.com/xeipuuv/gojsonschema v0.0.0-20180618132009-1d523034197f
go: finding github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415
go: finding github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f
ok
= go test ===============================================================
go: downloading github.com/machine-drivers/machine v0.7.1-0.20200323212942-41eb826190d8
go: downloading github.com/juju/mutex v0.0.0-20180619145857-d21b13acf4bf
go: downloading k8s.io/apimachinery v0.17.3
go: extracting github.com/juju/mutex v0.0.0-20180619145857-d21b13acf4bf
go: downloading github.com/afbjorklund/go-containerregistry v0.0.0-20200602203322-347d93793dc9
go: extracting github.com/machine-drivers/machine v0.7.1-0.20200323212942-41eb826190d8
go: downloading github.com/phayes/freeport v0.0.0-20180830031419-95f893ade6f2
go: downloading golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a
go: downloading golang.org/x/crypto v0.0.0-20200510223506-06a226fb4e37
go: downloading k8s.io/api v0.17.3
go: downloading github.com/spf13/cobra v1.0.0
go: downloading k8s.io/kubernetes v1.17.3
go: extracting golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a
go: downloading github.com/cheggaaa/pb v1.0.27
go: extracting github.com/phayes/freeport v0.0.0-20180830031419-95f893ade6f2
go: extracting github.com/spf13/cobra v1.0.0
go: extracting github.com/cheggaaa/pb v1.0.27
go: downloading github.com/cheggaaa/pb/v3 v3.0.1
go: downloading github.com/intel-go/cpuid v0.0.0-20181003105527-1a4a6f06a1c6
go: extracting k8s.io/apimachinery v0.17.3
go: downloading github.com/afbjorklund/go-getter v1.4.1-0.20190910175809-eb9f6c26742c
go: extracting github.com/intel-go/cpuid v0.0.0-20181003105527-1a4a6f06a1c6
go: downloading github.com/docker/docker v1.4.2-0.20190924003213-a8608b5b67c7
go: extracting github.com/afbjorklund/go-containerregistry v0.0.0-20200602203322-347d93793dc9
go: extracting github.com/afbjorklund/go-getter v1.4.1-0.20190910175809-eb9f6c26742c
go: extracting github.com/cheggaaa/pb/v3 v3.0.1
go: downloading k8s.io/client-go v0.17.3
go: downloading github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
go: extracting golang.org/x/crypto v0.0.0-20200510223506-06a226fb4e37
go: extracting github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
go: downloading github.com/cenkalti/backoff v2.2.1+incompatible
go: downloading github.com/docker/go-units v0.4.0
go: downloading github.com/mattn/go-runewidth v0.0.7
go: downloading github.com/olekukonko/tablewriter v0.0.4
go: downloading github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51
go: extracting github.com/docker/go-units v0.4.0
go: extracting github.com/olekukonko/tablewriter v0.0.4
go: downloading github.com/ulikunitz/xz v0.5.7
go: extracting github.com/cenkalti/backoff v2.2.1+incompatible
go: downloading github.com/hashicorp/go-cleanhttp v0.5.1
go: extracting github.com/mattn/go-runewidth v0.0.7
go: extracting github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51
go: downloading sigs.k8s.io/sig-storage-lib-external-provisioner v4.0.0+incompatible
go: extracting github.com/hashicorp/go-cleanhttp v0.5.1
go: downloading github.com/aws/aws-sdk-go v1.31.6
go: downloading golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2
go: extracting sigs.k8s.io/sig-storage-lib-external-provisioner v4.0.0+incompatible
go: downloading cloud.google.com/go v0.57.0
go: extracting github.com/ulikunitz/xz v0.5.7
go: extracting k8s.io/client-go v0.17.3
go: downloading github.com/pkg/profile v0.0.0-20161223203901-3a8809bd8a80
go: extracting github.com/pkg/profile v0.0.0-20161223203901-3a8809bd8a80
go: downloading github.com/fatih/color v1.9.0
go: extracting k8s.io/api v0.17.3
go: extracting github.com/fatih/color v1.9.0
go: downloading golang.org/x/text v0.3.2
go: extracting github.com/docker/docker v1.4.2-0.20190924003213-a8608b5b67c7
go: extracting golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2
go: downloading github.com/mitchellh/go-ps v0.0.0-20190716172923-621e5597135b
go: extracting github.com/mitchellh/go-ps v0.0.0-20190716172923-621e5597135b
go: downloading github.com/mattn/go-isatty v0.0.12
go: extracting cloud.google.com/go v0.57.0
go: extracting github.com/mattn/go-isatty v0.0.12
go: downloading github.com/spf13/viper v1.7.0
go: downloading github.com/gogo/protobuf v1.3.1
go: extracting github.com/spf13/viper v1.7.0
go: downloading cloud.google.com/go/storage v1.8.0
go: extracting cloud.google.com/go/storage v1.8.0
go: downloading github.com/juju/clock v0.0.0-20190205081909-9c5c9712527c
go: downloading github.com/subosito/gotenv v1.2.0
go: downloading github.com/pkg/errors v0.9.1
go: downloading github.com/docker/distribution v2.7.1+incompatible
go: extracting github.com/subosito/gotenv v1.2.0
go: downloading github.com/docker/go-connections v0.4.0
go: extracting github.com/pkg/errors v0.9.1
go: downloading github.com/mitchellh/mapstructure v1.3.1
go: extracting github.com/juju/clock v0.0.0-20190205081909-9c5c9712527c
go: downloading github.com/hashicorp/go-version v1.2.0
go: extracting github.com/hashicorp/go-version v1.2.0
go: downloading github.com/VividCortex/ewma v1.1.1
go: extracting github.com/docker/go-connections v0.4.0
go: downloading k8s.io/klog v1.0.0
go: extracting github.com/docker/distribution v2.7.1+incompatible
go: extracting github.com/gogo/protobuf v1.3.1
go: extracting github.com/VividCortex/ewma v1.1.1
go: downloading github.com/hashicorp/go-safetemp v1.0.0
go: extracting k8s.io/klog v1.0.0
go: downloading github.com/cloudfoundry-attic/jibber_jabber v0.0.0-20151120183258-bcc4c8345a21
go: extracting github.com/hashicorp/go-safetemp v1.0.0
go: extracting github.com/cloudfoundry-attic/jibber_jabber v0.0.0-20151120183258-bcc4c8345a21
go: downloading google.golang.org/api v0.25.0
go: downloading github.com/shirou/gopsutil v2.18.12+incompatible
go: extracting github.com/mitchellh/mapstructure v1.3.1
go: downloading github.com/pelletier/go-toml v1.8.0
go: extracting github.com/pelletier/go-toml v1.8.0
go: extracting github.com/shirou/gopsutil v2.18.12+incompatible
go: downloading github.com/prometheus/client_golang v1.1.0
go: downloading github.com/otiai10/copy v1.0.2
go: downloading github.com/google/uuid v1.1.1
go: extracting github.com/google/uuid v1.1.1
go: downloading github.com/spf13/afero v1.2.2
go: extracting github.com/prometheus/client_golang v1.1.0
go: extracting github.com/otiai10/copy v1.0.2
go: downloading gopkg.in/ini.v1 v1.56.0
go: extracting github.com/spf13/afero v1.2.2
go: downloading github.com/libvirt/libvirt-go v3.4.0+incompatible
go: downloading github.com/mattn/go-colorable v0.1.6
go: extracting github.com/libvirt/libvirt-go v3.4.0+incompatible
go: extracting gopkg.in/ini.v1 v1.56.0
go: downloading k8s.io/kubectl v0.17.3
go: downloading github.com/hooklift/iso9660 v0.0.0-20170318115843-1cf07e5970d8
go: extracting github.com/mattn/go-colorable v0.1.6
go: downloading github.com/miekg/dns v1.1.4
go: downloading github.com/google/slowjam v0.0.0-20200530021616-df27e642fe7b
go: extracting k8s.io/kubernetes v1.17.3
go: extracting github.com/miekg/dns v1.1.4
go: extracting github.com/google/slowjam v0.0.0-20200530021616-df27e642fe7b
go: downloading github.com/docker/cli v0.0.0-20200303162255-7d407207c304
go: extracting golang.org/x/text v0.3.2
go: downloading google.golang.org/genproto v0.0.0-20200527145253-8367513e4ece
go: extracting github.com/hooklift/iso9660 v0.0.0-20170318115843-1cf07e5970d8
go: downloading gopkg.in/yaml.v2 v2.3.0
go: extracting gopkg.in/yaml.v2 v2.3.0
go: downloading github.com/spf13/cast v1.3.1
go: downloading github.com/json-iterator/go v1.1.8
go: extracting github.com/docker/cli v0.0.0-20200303162255-7d407207c304
go: extracting k8s.io/kubectl v0.17.3
go: downloading github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d
go: extracting github.com/aws/aws-sdk-go v1.31.6
go: extracting google.golang.org/api v0.25.0
go: downloading github.com/google/gofuzz v1.0.0
go: downloading github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4
go: downloading github.com/c4milo/gotoolkit v0.0.0-20170318115440-bcc06269efa9
go: downloading github.com/prometheus/common v0.6.0
go: downloading github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e
go: downloading github.com/magiconair/properties v1.8.1
go: extracting github.com/json-iterator/go v1.1.8
go: extracting github.com/spf13/cast v1.3.1
go: downloading k8s.io/cluster-bootstrap v0.17.3
go: extracting google.golang.org/genproto v0.0.0-20200527145253-8367513e4ece
go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading github.com/hashicorp/hcl v1.0.0
go: extracting github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d
go: downloading github.com/pkg/browser v0.0.0-20160118053552-9302be274faa
go: extracting github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e
go: extracting github.com/magiconair/properties v1.8.1
go: extracting github.com/google/gofuzz v1.0.0
go: extracting github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4
go: extracting github.com/prometheus/common v0.6.0
go: extracting github.com/c4milo/gotoolkit v0.0.0-20170318115440-bcc06269efa9
go: downloading go.opencensus.io v0.22.3
go: downloading github.com/googleapis/gax-go v2.0.2+incompatible
go: downloading github.com/juju/errors v0.0.0-20190806202954-0232dcc7464d
go: downloading k8s.io/utils v0.0.0-20200229041039-0a110f9eb7ab
go: downloading github.com/MakeNowJust/heredoc v0.0.0-20170808103936-bb23615498cd
go: downloading google.golang.org/protobuf v1.24.0
go: extracting k8s.io/cluster-bootstrap v0.17.3
go: downloading github.com/fsnotify/fsnotify v1.4.9
go: extracting github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: extracting github.com/pkg/browser v0.0.0-20160118053552-9302be274faa
go: extracting github.com/hashicorp/hcl v1.0.0
go: downloading k8s.io/kubelet v0.17.3
go: downloading github.com/machine-drivers/docker-machine-driver-vmware v0.1.1
go: downloading github.com/cpuguy83/go-md2man v1.0.10
go: extracting go.opencensus.io v0.22.3
go: extracting k8s.io/utils v0.0.0-20200229041039-0a110f9eb7ab
go: extracting github.com/MakeNowJust/heredoc v0.0.0-20170808103936-bb23615498cd
go: extracting google.golang.org/protobuf v1.24.0
go: extracting github.com/juju/errors v0.0.0-20190806202954-0232dcc7464d
go: extracting github.com/fsnotify/fsnotify v1.4.9
go: extracting github.com/googleapis/gax-go v2.0.2+incompatible
go: downloading github.com/golang/protobuf v1.4.2
go: downloading github.com/golang-collections/collections v0.0.0-20130729185459-604e922904d3
go: downloading github.com/googleapis/gax-go/v2 v2.0.5
go: downloading github.com/mitchellh/go-homedir v1.1.0
go: downloading gopkg.in/inf.v0 v0.9.1
go: downloading google.golang.org/grpc v1.29.1
go: downloading github.com/opencontainers/image-spec v1.0.1
go: extracting k8s.io/kubelet v0.17.3
go: extracting github.com/machine-drivers/docker-machine-driver-vmware v0.1.1
go: extracting github.com/cpuguy83/go-md2man v1.0.10
go: downloading github.com/cpuguy83/go-md2man/v2 v2.0.0
go: downloading github.com/spf13/jwalterweatherman v1.1.0
go: extracting github.com/googleapis/gax-go/v2 v2.0.5
go: extracting github.com/golang-collections/collections v0.0.0-20130729185459-604e922904d3
go: extracting github.com/mitchellh/go-homedir v1.1.0
go: extracting gopkg.in/inf.v0 v0.9.1
go: downloading github.com/russross/blackfriday v1.5.3-0.20200218234912-41c5fccfd6f6
go: extracting github.com/golang/protobuf v1.4.2
go: downloading golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
go: extracting github.com/opencontainers/image-spec v1.0.1
go: extracting google.golang.org/grpc v1.29.1
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/blang/semver v3.5.0+incompatible
go: downloading github.com/mitchellh/go-testing-interface v1.0.0
go: downloading github.com/jmespath/go-jmespath v0.3.0
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading github.com/docker/docker-credential-helpers v0.6.3
go: extracting github.com/cpuguy83/go-md2man/v2 v2.0.0
go: downloading golang.org/x/sys v0.0.0-20200523222454-059865788121
go: extracting github.com/spf13/jwalterweatherman v1.1.0
go: extracting github.com/jmespath/go-jmespath v0.3.0
go: extracting github.com/mitchellh/go-testing-interface v1.0.0
go: extracting github.com/spf13/pflag v1.0.5
go: extracting github.com/blang/semver v3.5.0+incompatible
go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1
go: extracting github.com/docker/docker-credential-helpers v0.6.3
go: extracting github.com/russross/blackfriday v1.5.3-0.20200218234912-41c5fccfd6f6
go: downloading k8s.io/kube-proxy v0.17.3
go: extracting github.com/davecgh/go-spew v1.1.1
go: downloading github.com/prometheus/procfs v0.0.5
go: extracting golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
go: downloading github.com/beorn7/perks v1.0.1
go: downloading k8s.io/kube-openapi v0.0.0-20191107075043-30be4d16710a
go: downloading github.com/russross/blackfriday/v2 v2.0.1
go: downloading github.com/opencontainers/go-digest v1.0.0-rc1
go: downloading golang.org/x/time v0.0.0-20200416051211-89c76fbcd5d1
go: downloading github.com/google/go-cmp v0.4.1
go: extracting golang.org/x/sys v0.0.0-20200523222454-059865788121
go: downloading github.com/containerd/containerd v1.3.1-0.20191213020239-082f7e3aed57
go: extracting k8s.io/kube-proxy v0.17.3
go: downloading sigs.k8s.io/yaml v1.1.0
go: extracting k8s.io/kube-openapi v0.0.0-20191107075043-30be4d16710a
go: extracting github.com/matttproud/golang_protobuf_extensions v1.0.1
go: extracting github.com/russross/blackfriday/v2 v2.0.1
go: extracting github.com/opencontainers/go-digest v1.0.0-rc1
go: extracting github.com/prometheus/procfs v0.0.5
go: extracting golang.org/x/time v0.0.0-20200416051211-89c76fbcd5d1
go: extracting github.com/beorn7/perks v1.0.1
go: extracting github.com/google/go-cmp v0.4.1
go: downloading github.com/googleapis/gnostic v0.3.0
go: downloading github.com/sayboras/dockerclient v0.0.0-20191231050035-015626177a97
go: downloading github.com/imdario/mergo v0.3.9
go: downloading github.com/modern-go/reflect2 v1.0.1
go: downloading k8s.io/component-base v0.17.3
go: downloading github.com/mitchellh/go-wordwrap v1.0.0
go: downloading github.com/shurcooL/sanitized_anchor_name v1.0.0
go: extracting github.com/containerd/containerd v1.3.1-0.20191213020239-082f7e3aed57
go: downloading github.com/hashicorp/golang-lru v0.5.3
go: extracting github.com/googleapis/gnostic v0.3.0
go: extracting k8s.io/component-base v0.17.3
go: extracting github.com/modern-go/reflect2 v1.0.1
go: extracting github.com/mitchellh/go-wordwrap v1.0.0
go: extracting github.com/imdario/mergo v0.3.9
go: extracting github.com/sayboras/dockerclient v0.0.0-20191231050035-015626177a97
go: extracting sigs.k8s.io/yaml v1.1.0
go: extracting github.com/shurcooL/sanitized_anchor_name v1.0.0
go: extracting github.com/hashicorp/golang-lru v0.5.3
go: downloading github.com/sirupsen/logrus v1.6.0
go: downloading github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96
go: extracting github.com/sirupsen/logrus v1.6.0
go: extracting github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96
go: finding github.com/machine-drivers/machine v0.7.1-0.20200323212942-41eb826190d8
go: finding github.com/golang-collections/collections v0.0.0-20130729185459-604e922904d3
go: finding github.com/pkg/errors v0.9.1
go: finding github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
go: finding github.com/google/slowjam v0.0.0-20200530021616-df27e642fe7b
go: finding github.com/pkg/profile v0.0.0-20161223203901-3a8809bd8a80
go: finding github.com/docker/go-units v0.4.0
go: finding github.com/spf13/cobra v1.0.0
go: finding github.com/olekukonko/tablewriter v0.0.4
go: finding github.com/blang/semver v3.5.0+incompatible
go: finding k8s.io/client-go v0.17.3
go: finding github.com/hooklift/iso9660 v0.0.0-20170318115843-1cf07e5970d8
go: finding github.com/libvirt/libvirt-go v3.4.0+incompatible
go: finding github.com/spf13/viper v1.7.0
go: finding golang.org/x/crypto v0.0.0-20200510223506-06a226fb4e37
go: finding github.com/mattn/go-runewidth v0.0.7
go: finding github.com/imdario/mergo v0.3.9
go: finding github.com/juju/clock v0.0.0-20190205081909-9c5c9712527c
go: finding k8s.io/api v0.17.3
go: finding github.com/spf13/pflag v1.0.5
go: finding github.com/juju/mutex v0.0.0-20180619145857-d21b13acf4bf
go: finding k8s.io/apimachinery v0.17.3
go: finding github.com/mattn/go-isatty v0.0.12
go: finding golang.org/x/sys v0.0.0-20200523222454-059865788121
go: finding github.com/c4milo/gotoolkit v0.0.0-20170318115440-bcc06269efa9
go: finding github.com/docker/docker v1.4.2-0.20190924003213-a8608b5b67c7
go: finding github.com/afbjorklund/go-containerregistry v0.0.0-20200602203322-347d93793dc9
go: finding github.com/juju/errors v0.0.0-20190806202954-0232dcc7464d
go: finding github.com/gogo/protobuf v1.3.1
go: finding github.com/google/uuid v1.1.1
go: finding github.com/docker/cli v0.0.0-20200303162255-7d407207c304
go: finding github.com/fsnotify/fsnotify v1.4.9
go: finding github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51
go: finding github.com/pkg/browser v0.0.0-20160118053552-9302be274faa
go: finding github.com/mitchellh/go-ps v0.0.0-20190716172923-621e5597135b
go: finding github.com/hashicorp/hcl v1.0.0
go: finding github.com/shirou/gopsutil v2.18.12+incompatible
go: finding github.com/magiconair/properties v1.8.1
go: finding github.com/google/gofuzz v1.0.0
go: finding cloud.google.com/go/storage v1.8.0
go: finding github.com/cloudfoundry-attic/jibber_jabber v0.0.0-20151120183258-bcc4c8345a21
go: finding github.com/mitchellh/mapstructure v1.3.1
go: finding sigs.k8s.io/sig-storage-lib-external-provisioner v4.0.0+incompatible
go: finding golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a
go: finding k8s.io/klog v1.0.0
go: finding github.com/machine-drivers/docker-machine-driver-vmware v0.1.1
go: finding github.com/pelletier/go-toml v1.8.0
go: finding github.com/docker/docker-credential-helpers v0.6.3
go: finding github.com/otiai10/copy v1.0.2
go: finding github.com/cpuguy83/go-md2man/v2 v2.0.0
go: finding github.com/cenkalti/backoff v2.2.1+incompatible
go: finding github.com/golang/protobuf v1.4.2
go: finding golang.org/x/text v0.3.2
go: finding cloud.google.com/go v0.57.0
go: finding gopkg.in/inf.v0 v0.9.1
go: finding github.com/spf13/afero v1.2.2
go: finding github.com/googleapis/gnostic v0.3.0
go: finding github.com/docker/distribution v2.7.1+incompatible
go: finding github.com/spf13/cast v1.3.1
go: finding github.com/russross/blackfriday/v2 v2.0.1
go: finding github.com/prometheus/client_golang v1.1.0
go: finding golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2
go: finding github.com/spf13/jwalterweatherman v1.1.0
go: finding k8s.io/kubernetes v1.17.3
go: finding gopkg.in/yaml.v2 v2.3.0
go: finding github.com/intel-go/cpuid v0.0.0-20181003105527-1a4a6f06a1c6
go: finding github.com/googleapis/gax-go/v2 v2.0.5
go: finding golang.org/x/time v0.0.0-20200416051211-89c76fbcd5d1
go: finding github.com/cheggaaa/pb/v3 v3.0.1
go: finding google.golang.org/genproto v0.0.0-20200527145253-8367513e4ece
go: finding github.com/subosito/gotenv v1.2.0
go: finding github.com/shurcooL/sanitized_anchor_name v1.0.0
go: finding google.golang.org/protobuf v1.24.0
go: finding google.golang.org/api v0.25.0
go: finding github.com/opencontainers/go-digest v1.0.0-rc1
go: finding google.golang.org/grpc v1.29.1
go: finding gopkg.in/ini.v1 v1.56.0
go: finding go.opencensus.io v0.22.3
go: finding github.com/afbjorklund/go-getter v1.4.1-0.20190910175809-eb9f6c26742c
go: finding k8s.io/component-base v0.17.3
go: finding k8s.io/kubectl v0.17.3
go: finding github.com/VividCortex/ewma v1.1.1
go: finding github.com/json-iterator/go v1.1.8
go: finding github.com/beorn7/perks v1.0.1
go: finding github.com/docker/go-connections v0.4.0
go: finding github.com/modern-go/reflect2 v1.0.1
go: finding github.com/fatih/color v1.9.0
go: finding github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: finding github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4
go: finding github.com/MakeNowJust/heredoc v0.0.0-20170808103936-bb23615498cd
go: finding github.com/mattn/go-colorable v0.1.6
go: finding github.com/opencontainers/image-spec v1.0.1
go: finding github.com/prometheus/common v0.6.0
go: finding github.com/russross/blackfriday v1.5.3-0.20200218234912-41c5fccfd6f6
go: finding github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e
go: finding github.com/sayboras/dockerclient v0.0.0-20191231050035-015626177a97
go: finding golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
go: finding github.com/davecgh/go-spew v1.1.1
go: finding github.com/containerd/containerd v1.3.1-0.20191213020239-082f7e3aed57
go: finding github.com/prometheus/procfs v0.0.5
go: finding k8s.io/cluster-bootstrap v0.17.3
go: finding github.com/sirupsen/logrus v1.6.0
go: finding github.com/matttproud/golang_protobuf_extensions v1.0.1
go: finding sigs.k8s.io/yaml v1.1.0
go: finding k8s.io/utils v0.0.0-20200229041039-0a110f9eb7ab
go: finding github.com/mitchellh/go-wordwrap v1.0.0
go: finding github.com/aws/aws-sdk-go v1.31.6
go: finding k8s.io/kube-proxy v0.17.3
go: finding k8s.io/kubelet v0.17.3
go: finding github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d
go: finding github.com/miekg/dns v1.1.4
go: finding github.com/hashicorp/go-cleanhttp v0.5.1
go: finding github.com/hashicorp/go-safetemp v1.0.0
go: finding github.com/hashicorp/go-version v1.2.0
go: finding github.com/hashicorp/golang-lru v0.5.3
go: finding github.com/mitchellh/go-homedir v1.1.0
go: finding github.com/mitchellh/go-testing-interface v1.0.0
go: finding github.com/ulikunitz/xz v0.5.7
go: finding github.com/google/go-cmp v0.4.1
go: finding k8s.io/kube-openapi v0.0.0-20191107075043-30be4d16710a
go: finding github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96
go: finding github.com/jmespath/go-jmespath v0.3.0
go: finding github.com/phayes/freeport v0.0.0-20180830031419-95f893ade6f2
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
go: extracting github.com/pmezard/go-difflib v1.0.0
go: extracting github.com/evanphx/json-patch v4.5.0+incompatible
go: extracting golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543
go: finding github.com/pmezard/go-difflib v1.0.0
go: finding golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543
go: finding github.com/evanphx/json-patch v4.5.0+incompatible
ERROR: logging before flag.Parse: I0612 18:16:53.661789   11842 translate.go:106] Setting Language to en-US ...
--- FAIL: TestGenerateDocs (0.02s)
    --- FAIL: TestGenerateDocs/start (0.00s)
        generate-docs_test.go:47: Docs are not updated. Please run `make generate-docs` to update commands documentation:   strings.Join({
              	... // 1286 identical bytes
              	"   The base image to use for docker/podman drivers. Intended for",
              	` local development. (default "gcr.io/k8s-minikube/kicbase:v0.0.1`,
            - 	"1@sha256:742264bf43555709cfa141878b643de58961801ddf778e3cde87134",
            - 	"95dd7bfec",
            + 	"0@sha256:f58e0c4662bac8a9b5dda7984b185bad8502ade5d9fa364bf2755d6",
            + 	"36ab51438",
              	"\")\n      --cache-images                      If true, cache dock",
              	"er images for the current bootstrapper and load them into the ma",
              	... // 9587 identical bytes
              }, "")
E0612 18:16:57.424507   11842 out.go:102] [unset errFile]: ! Not passing HTTP_PROXY=127.0.0.1:3128 to docker env.
E0612 18:16:57.424971   11842 out.go:102] [unset errFile]: ! Not passing HTTP_PROXY=localhost:3128 to docker env.
FAIL
coverage: 20.6% of statements
FAIL	k8s.io/minikube/cmd/minikube/cmd	3.846s
ok  	k8s.io/minikube/cmd/minikube/cmd/config	0.161s	coverage: 21.7% of statements
ok  	k8s.io/minikube/pkg/addons	0.056s	coverage: 56.9% of statements
ok  	k8s.io/minikube/pkg/drivers	0.009s	coverage: 19.6% of statements
ok  	k8s.io/minikube/pkg/drivers/hyperkit	0.002s	coverage: 77.3% of statements
ok  	k8s.io/minikube/pkg/drivers/kvm	0.056s	coverage: 2.3% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper	0.693s	coverage: 55.7% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper/bsutil	0.095s	coverage: 63.2% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper/bsutil/ktmpl	0.024s	coverage: 100.0% of statements
ok  	k8s.io/minikube/pkg/minikube/bootstrapper/images	0.012s	coverage: 88.9% of statements
ok  	k8s.io/minikube/pkg/minikube/cluster	0.061s	coverage: 16.9% of statements
ok  	k8s.io/minikube/pkg/minikube/command	0.026s	coverage: 4.3% of statements
ok  	k8s.io/minikube/pkg/minikube/config	0.183s	coverage: 67.3% of statements
ok  	k8s.io/minikube/pkg/minikube/cruntime	0.046s	coverage: 40.6% of statements
ok  	k8s.io/minikube/pkg/minikube/docker	0.030s	coverage: 20.8% of statements
ok  	k8s.io/minikube/pkg/minikube/driver	0.020s	coverage: 37.1% of statements
ok  	k8s.io/minikube/pkg/minikube/extract	0.012s	coverage: 58.8% of statements
ok  	k8s.io/minikube/pkg/minikube/image	0.021s	coverage: 3.0% of statements
ok  	k8s.io/minikube/pkg/minikube/kubeconfig	0.035s	coverage: 77.0% of statements
ok  	k8s.io/minikube/pkg/minikube/localpath	0.003s	coverage: 51.9% of statements
ok  	k8s.io/minikube/pkg/minikube/logs	0.029s	coverage: 1.3% of statements
ok  	k8s.io/minikube/pkg/minikube/machine	1.274s	coverage: 38.7% of statements
ok  	k8s.io/minikube/pkg/minikube/notify	0.012s	coverage: 92.9% of statements
ok  	k8s.io/minikube/pkg/minikube/out	0.063s	coverage: 67.4% of statements
ok  	k8s.io/minikube/pkg/minikube/perf	4.259s	coverage: 33.8% of statements
ok  	k8s.io/minikube/pkg/minikube/problem	0.018s	coverage: 91.7% of statements
ok  	k8s.io/minikube/pkg/minikube/proxy	0.007s	coverage: 77.0% of statements
ok  	k8s.io/minikube/pkg/minikube/registry	0.007s	coverage: 75.5% of statements
ok  	k8s.io/minikube/pkg/minikube/service	0.066s	coverage: 84.2% of statements
ok  	k8s.io/minikube/pkg/minikube/shell	0.002s	coverage: 96.9% of statements
ok  	k8s.io/minikube/pkg/minikube/storageclass	0.024s	coverage: 100.0% of statements
ok  	k8s.io/minikube/pkg/minikube/sysinit	0.018s	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.641s	coverage: 64.2% of statements
ok  	k8s.io/minikube/pkg/util	0.822s	coverage: 77.9% of statements
ok  	k8s.io/minikube/pkg/util/lock	0.009s	coverage: 18.2% of statements
ok  	k8s.io/minikube/pkg/util/retry	0.002s	coverage: 0.0% of statements
FAIL
Makefile:273: recipe for target 'test' failed
make: *** [test] Error 32
TravisBuddy Request Identifier: 28938a60-acd9-11ea-8245-836d9da6cb4c

@medyagh
Copy link
Member

medyagh commented Jun 12, 2020

/ok-to-test

@k8s-ci-robot k8s-ci-robot added the ok-to-test Indicates a non-member PR verified by an org member that is safe to test. label Jun 12, 2020
@kubernetes kubernetes deleted a comment from minikube-pr-bot Jun 12, 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.

@minikube-pr-bot
Copy link

kvm2 Driver
Times for minikube: [65.28712846699999 62.130833706999994 64.079459666]
Average time for minikube: 63.83247394666666

Times for Minikube (PR 8251): [64.87755647400002 64.73796044800001 65.56123147800001]
Average time for Minikube (PR 8251): 65.05891613333334

Averages Time Per Log

+--------------------------------+-----------+--------------------+
|              LOG               | MINIKUBE  | MINIKUBE (PR 8251) |
+--------------------------------+-----------+--------------------+
| * minikube v1.11.0 on Debian   |  0.058957 |           0.055147 |
|                           9.11 |           |                    |
| * Using the kvm2 driver based  |  0.020665 |           0.021513 |
| on existing profile            |           |                    |
| * Starting control plane node  |  0.003351 |           0.003414 |
| minikube in cluster minikube   |           |                    |
| * Creating kvm2 VM (CPUs=2,    | 40.475760 |          40.754612 |
| Memory=3700MB, Disk=20000MB)   |           |                    |
| ...                            |           |                    |
| * Preparing Kubernetes v1.18.3 | 21.347384 |          22.578234 |
| on Docker 19.03.8 ...          |           |                    |
| * Verifying Kubernetes         |  1.565909 |           1.267431 |
| components...                  |           |                    |
| * Enabled addons:              |  0.281484 |           0.290026 |
| default-storageclass,          |           |                    |
| storage-provisioner            |           |                    |
| * Done! kubectl is now         |  0.075754 |           0.082956 |
| configured to use "minikube"   |           |                    |
|                                |  0.003209 |           0.005583 |
+--------------------------------+-----------+--------------------+

docker Driver
Times for minikube: [25.23910033 25.389476647000002 25.831070823]
Average time for minikube: 25.486549266666668

Times for Minikube (PR 8251): [24.833529109999997 27.596814278999993 26.76801526]
Average time for Minikube (PR 8251): 26.399452883

Averages Time Per Log

+----------------------------------------+-----------+--------------------+
|                  LOG                   | MINIKUBE  | MINIKUBE (PR 8251) |
+----------------------------------------+-----------+--------------------+
| * minikube v1.11.0 on Debian           |  0.072819 |           0.068781 |
|                                   9.11 |           |                    |
| * Using the docker driver              |  0.002390 |           0.002431 |
| based on existing profile              |           |                    |
| * Starting control plane node          |  0.058278 |           0.056944 |
| minikube in cluster minikube           |           |                    |
| * Creating docker container            |  7.715017 |           7.760741 |
| (CPUs=2, Memory=3700MB) ...            |           |                    |
| * Preparing Kubernetes v1.18.3         |  0.117328 |                    |
| on Docker 19.03.2 ...                  |           |                    |
|   -                                    | 16.569297 |          17.584332 |
| kubeadm.pod-network-cidr=10.244.0.0/16 |           |                    |
| * Verifying Kubernetes                 |  0.757861 |           0.733503 |
| components...                          |           |                    |
| * Enabled addons:                      |  0.126661 |           0.002457 |
| default-storageclass,                  |           |                    |
| storage-provisioner                    |           |                    |
| * Done! kubectl is now                 |  0.060763 |           0.066695 |
| configured to use "minikube"           |           |                    |
|                                        |  0.006136 |           0.117182 |
+----------------------------------------+-----------+--------------------+

@afbjorklund
Copy link
Collaborator Author

Will try to upgrade podman and cri-o, for the next version... Might have to build it from source:

https://build.opensuse.org/package/show/devel:kubic:libcontainers:stable:cri-o:1.18/cri-o?rev=4

@afbjorklund
Copy link
Collaborator Author

https://dl.bintray.com/afbjorklund/cri-o/pool/main/c/cri-o/:cri-o_1.18.1~1_amd64.deb

Using the command line, add the following to your /etc/apt/sources.list system config file:

echo "deb https://dl.bintray.com/afbjorklund/cri-o {distribution} {components}" | sudo tee -a /etc/apt/sources.list

@afbjorklund
Copy link
Collaborator Author

afbjorklund commented Jun 14, 2020

Added some cleanup from the kindbase installs, rather than forking the files and entrypoint.

RUN rm \
    /etc/crictl.yaml \
    /etc/systemd/system/multi-user.target.wants/containerd.service \
    /opt/cni/bin/host-local \
    /opt/cni/bin/loopback \
    /opt/cni/bin/portmap \
    /opt/cni/bin/ptp \
    /usr/local/bin/containerd \
    /usr/local/bin/containerd-shim \
    /usr/local/bin/containerd-shim-runc-v2 \
    /usr/local/bin/crictl \
    /usr/local/bin/ctr \
    /usr/local/sbin/runc

The end result doesn't seem that much worse, it's even smaller than the current kicbase ?

REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
kindbase            latest              9aab24e656fc        37 minutes ago      132MB
kicbase             latest              3200008055a0        About a minute ago  925MB

This is because I used the clean-install script, rather than copy/pasting it in several steps.

RUN clean-install \
    lz4 \
    sudo \
    docker.io \
    openssh-server \
    dnsutils \
    # libglib2.0-0 is required for conmon, which is required for podman
    libglib2.0-0 \
    cri-o \
    podman \
    varlink

@afbjorklund afbjorklund modified the milestone: v1.12.0 Jun 20, 2020
@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 26, 2020
@k8s-ci-robot
Copy link
Contributor

@afbjorklund: PR needs rebase.

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.

@afbjorklund afbjorklund changed the title Upgrade kindbase to later version and ubuntu:20.04 WIP: Upgrade kindbase to later version and ubuntu:20.04 Jul 21, 2020
@k8s-ci-robot k8s-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 21, 2020
@tstromberg
Copy link
Contributor

Do you mind resolving the conflicts?

@medyagh medyagh mentioned this pull request Jul 28, 2020
@medyagh
Copy link
Member

medyagh commented Jul 28, 2020

closing in favor of #8869

@medyagh medyagh closed this Jul 28, 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. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. 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.

Upgrade kicbase to Ubuntu 20.04 LTS podman build fails in kicbase image
7 participants