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

Check for cri-dockerd & dockerd runtimes when using none-driver on Kubernetes 1.24+ #14555

Merged
merged 14 commits into from
Jul 28, 2022

Conversation

klaases
Copy link
Contributor

@klaases klaases commented Jul 11, 2022

Fixes #14410
Fixes #14460

Check for cri-dockerd and dockerd in addition to docker, to help the user tell whether they have all the requirements to run the docker container runtime.

Checks for both cri-dockerd and dockerd only apply if the Kubernetes version is greater than or equal to v1.24.


Run minikube with none driver:
sudo -E ./out/minikube start --driver=none


If CONNTRACK is missing, install with: sudo apt-get install -y conntrack

โŒ  Exiting due to GUEST_MISSING_CONNTRACK: Sorry, Kubernetes 1.24.2 requires conntrack to be installed in root's path

Before: Linux system without cri-dockerd installed with k8s >= v.1.24.

$ sudo -E ./out/minikube start --driver=none
๐Ÿ˜„  minikube v1.26.0 on Debian rodete (kvm/amd64)
โœจ  Using the none driver based on user configuration
๐Ÿ‘  Starting control plane node minikube in cluster minikube
๐Ÿคน  Running on localhost (CPUs=48, Memory=181315MB, Disk=142997MB) ...
โ„น๏ธ  OS release is Debian GNU/Linux rodete

โŒ  Exiting due to RUNTIME_ENABLE: Temporary Error: sudo crictl version: exit status 1
stdout:

stderr:
time="2022-07-15T18:33:39Z" level=fatal msg="unable to determine runtime API version: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial unix /var/run/cri-dockerd.sock: connect: connection refused\""


โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚                                                                                           โ”‚
โ”‚    ๐Ÿ˜ฟ  If the above advice does not help, please let us know:                             โ”‚
โ”‚    ๐Ÿ‘‰  https://github.com/kubernetes/minikube/issues/new/choose                           โ”‚
โ”‚                                                                                           โ”‚
โ”‚    Please run `minikube logs --file=logs.txt` and attach logs.txt to the GitHub issue.    โ”‚
โ”‚                                                                                           โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

After: Linux system without cri-dockerd installed with k8s >= v.1.24.

$ sudo -E ./out/minikube start --driver=none
๐Ÿ˜„  minikube v1.26.0 on Debian rodete (kvm/amd64)
โœจ  Using the none driver based on existing profile
๐Ÿ‘  Starting control plane node minikube in cluster minikube
๐Ÿ”„  Restarting existing none bare metal machine for "minikube" ...

๐Ÿณ  Exiting due to NOT_FOUND_CRI_DOCKERD:

๐Ÿ’ก  Suggestion: 

    The none driver with Kubernetes v1.24+ and the docker container-runtime requires cri-dockerd.
    
    Please install cri-dockerd using these instructions:
    
    https://github.com/Mirantis/cri-dockerd#build-and-install

Next, install cri-dockerd, (installation guide).

Note: if you encounter the error crictl not found:

$ sudo -E ./out/minikube start --driver=none
[sudo] password for klaases: 
๐Ÿ˜„  minikube v1.26.0 on Debian rodete (kvm/amd64)
โœจ  Using the none driver based on existing profile
๐Ÿ‘  Starting control plane node minikube in cluster minikube
๐Ÿ”„  Restarting existing none bare metal machine for "minikube" ...
โ„น๏ธ  OS release is Debian GNU/Linux rodete

โŒ  Exiting due to RUNTIME_ENABLE: Temporary Error: sudo crictl version: exit status 1
stdout:

stderr:
sudo: crictl: command not found
...

By default, crictl will work from /usr/local/bin/, however minikube requires crictl to be in /usr/bin/ (more information).

Manually fix sudo crictl by running the following command:
sudo cp /usr/local/bin/crictl /usr/bin/crictl


After: Linux system with cri-dockerd installed with Kubernetes >= 1.24.

sudo -E ./out/minikube start --driver=none
๐Ÿ˜„  minikube v1.26.0 on Debian rodete (kvm/amd64)
โœจ  Using the none driver based on existing profile
๐Ÿ‘  Starting control plane node minikube in cluster minikube
๐Ÿƒ  Updating the running none "minikube" bare metal machine ...
โ„น๏ธ  OS release is Debian GNU/Linux rodete
๐Ÿณ  Preparing Kubernetes v1.24.2 on Docker 20.10.2 ...
๐Ÿคน  Configuring local host environment ...

โ—  The 'none' driver is designed for experts who need to integrate with an existing VM
๐Ÿ’ก  Most users should use the newer 'docker' driver instead, which does not require root!
๐Ÿ“˜  For more information, see: https://minikube.sigs.k8s.io/docs/reference/drivers/none/

โ—  kubectl and minikube configuration will be stored in /root
โ—  To use kubectl or minikube commands as your own user, you may need to relocate them. For example, to overwrite your own settings, run:

    โ–ช sudo mv /root/.kube /root/.minikube $HOME
    โ–ช sudo chown -R $USER $HOME/.kube $HOME/.minikube

๐Ÿ’ก  This can also be done automatically by setting the env var CHANGE_MINIKUBE_NONE_USER=true
๐Ÿ”Ž  Verifying Kubernetes components...
    โ–ช Using image gcr.io/k8s-minikube/storage-provisioner:v5
๐ŸŒŸ  Enabled addons: default-storageclass, storage-provisioner
๐Ÿ’ก  kubectl not found. If you need it, try: 'minikube kubectl -- get pods -A'
๐Ÿ„  Done! kubectl is now configured to use "minikube" cluster and "default" namespace by default

After: Linux system without cri-dockerd installed and with older version of Kubernetes less than 1.24.


  1. Uninstall cri-dockerd, or make unavailable with:sudo mv cri-dockerd cri-dockerd1

  2. Downgrade Kubernetes (this did not work, need to instead use a minikube flag like --kubernetes-version=v1.23.0):

    • curl -LO https://dl.k8s.io/release/v1.23.0/bin/linux/amd64/kubectl
    • sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
    • kubectl version --client
    • Client Version: version.Info{Major:"1", Minor:"23" ...

Note: that a profile cannot be used with the none driver.

โŒ  Exiting due to DRV_UNSUPPORTED_PROFILE: The 'none driver does not support multiple profiles: https://minikube.sigs.k8s.io/docs/reference/drivers/none/

Note: downgrading with --kubernetes-version=v1.23.0 also did not work.

sudo -E ./out/minikube start --driver=none --kubernetes-version=v1.23.0
๐Ÿ˜„  minikube v1.26.0 on Debian rodete (kvm/amd64)

๐Ÿ™ˆ  Exiting due to K8S_DOWNGRADE_UNSUPPORTED: Unable to safely downgrade existing Kubernetes v1.24.2 cluster to v1.23.0
๐Ÿ’ก  Suggestion: 

    1) Recreate the cluster with Kubernetes 1.23.0, by running:
    
    minikube delete
    minikube start --kubernetes-version=v1.23.0
    
    2) Create a second cluster with Kubernetes 1.23.0, by running:
    
    minikube start -p minikube2 --kubernetes-version=v1.23.0
    
    3) Use the existing cluster at version Kubernetes 1.24.2, by running:
    
    minikube start --kubernetes-version=v1.24.2

Running minikube delete and minikube start --kubernetes-version=v1.23.0 work, however even after running minikube with v.1.23, sudo -E ./out/minikube start --driver=none --kubernetes-version=v1.23.0 produces the above error.

The solution was to completely restart the Linux system.

Subsequent tests with and without --force and both worked as expected.

$ sudo -E ./out/minikube start --driver=none --kubernetes-version=v1.23.0 --force
๐Ÿ˜„  minikube v1.26.0 on Debian rodete (kvm/amd64)
โ—  minikube skips various validations when --force is supplied; this may lead to unexpected behavior
โœจ  Using the none driver based on user configuration
๐Ÿ‘  Starting control plane node minikube in cluster minikube
๐Ÿคน  Running on localhost (CPUs=48, Memory=181315MB, Disk=142997MB) ...
โ„น๏ธ  OS release is Debian GNU/Linux rodete
๐Ÿณ  Preparing Kubernetes v1.23.0 on Docker 20.10.2 ...
    โ–ช Generating certificates and keys ...
    โ–ช Booting up control plane ...
    โ–ช Configuring RBAC rules ...
๐Ÿคน  Configuring local host environment ...

โ—  The 'none' driver is designed for experts who need to integrate with an existing VM
๐Ÿ’ก  Most users should use the newer 'docker' driver instead, which does not require root!
๐Ÿ“˜  For more information, see: https://minikube.sigs.k8s.io/docs/reference/drivers/none/

โ—  kubectl and minikube configuration will be stored in /root
โ—  To use kubectl or minikube commands as your own user, you may need to relocate them. For example, to overwrite your own settings, run:

    โ–ช sudo mv /root/.kube /root/.minikube $HOME
    โ–ช sudo chown -R $USER $HOME/.kube $HOME/.minikube

๐Ÿ’ก  This can also be done automatically by setting the env var CHANGE_MINIKUBE_NONE_USER=true
๐Ÿ”Ž  Verifying Kubernetes components...
    โ–ช Using image gcr.io/k8s-minikube/storage-provisioner:v5
๐ŸŒŸ  Enabled addons: default-storageclass, storage-provisioner
๐Ÿ’ก  kubectl not found. If you need it, try: 'minikube kubectl -- get pods -A'
๐Ÿ„  Done! kubectl is now configured to use "minikube" cluster and "default" namespace by default

@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Jul 11, 2022
@klaases klaases self-assigned this Jul 11, 2022
@klaases klaases added this to the 1.27.0 milestone Jul 11, 2022
pkg/minikube/cruntime/docker.go Outdated Show resolved Hide resolved
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.

can you please put Before/After this PR in the description ?

with one linux system without cri-dockerd installed and another with that installed

also please put output of a none driver with older k8s verison (without cir-dockerd) and it should not exit or warn user

@medyagh
Copy link
Member

medyagh commented Jul 12, 2022

@klaases Please see this comment,
#14555 (review)

@klaases
Copy link
Contributor Author

klaases commented Jul 12, 2022

@klaases Please see this comment,
#14555 (review)

Yes, taking a look, thanks!

pkg/minikube/cruntime/docker.go Outdated Show resolved Hide resolved
pkg/minikube/cruntime/docker.go Outdated Show resolved Hide resolved
@k8s-ci-robot k8s-ci-robot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jul 14, 2022
@klaases
Copy link
Contributor Author

klaases commented Jul 14, 2022

can you please put Before/After this PR in the description ?

with one linux system without cri-dockerd installed and another with that installed

also please put output of a none driver with older k8s verison (without cir-dockerd) and it should not exit or warn user

Hi @medyagh, what is the best way to downgrade k8s version for minikube?

I tried installing an older version as well as passing --kubernetes-version=v1.23.0, but these did not work with --driver=none.

@klaases
Copy link
Contributor Author

klaases commented Jul 14, 2022

After restarting Linux, minikube was able to start with Kubernetes less than v.1.24, and without cri-dockerd being available.

/ok-to-test

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

These are the flake rates of all failed tests.

Environment Failed Tests Flake Rate (%)
Docker_Windows TestNoKubernetes/serial/Stop (gopogh) 34.12 (chart)
Docker_Windows TestNoKubernetes/serial/StartNoArgs (gopogh) 39.29 (chart)
Hyper-V_Windows TestNoKubernetes/serial/StartWithK8s (gopogh) 47.41 (chart)
Docker_Windows TestAddons/Setup (gopogh) 48.20 (chart)
Docker_Windows TestCertOptions (gopogh) 48.20 (chart)
Docker_Windows TestDockerFlags (gopogh) 48.20 (chart)
Docker_Windows TestForceSystemdEnv (gopogh) 48.20 (chart)
Docker_Windows TestFunctional/parallel/CertSync (gopogh) 48.20 (chart)
Docker_Windows TestFunctional/parallel/CpCmd (gopogh) 48.20 (chart)
Docker_Windows TestFunctional/parallel/FileSync (gopogh) 48.20 (chart)
Docker_Windows TestFunctional/parallel/ImageCommands/ImageBuild (gopogh) 48.20 (chart)
Docker_Windows TestFunctional/parallel/ImageCommands/ImageListJson (gopogh) 48.20 (chart)
Docker_Windows TestFunctional/parallel/ImageCommands/ImageListShort (gopogh) 48.20 (chart)
Docker_Windows TestFunctional/parallel/ImageCommands/ImageListTable (gopogh) 48.20 (chart)
Docker_Windows TestFunctional/parallel/ImageCommands/ImageListYaml (gopogh) 48.20 (chart)
Docker_Windows TestFunctional/parallel/ImageCommands/ImageLoadDaemon (gopogh) 48.20 (chart)
Docker_Windows TestFunctional/parallel/ImageCommands/ImageLoadFromFile (gopogh) 48.20 (chart)
Docker_Windows TestFunctional/parallel/ImageCommands/ImageReloadDaemon (gopogh) 48.20 (chart)
Docker_Windows TestFunctional/parallel/ImageCommands/ImageSaveDaemon (gopogh) 48.20 (chart)
Docker_Windows TestFunctional/parallel/ImageCommands/ImageSaveToFile (gopogh) 48.20 (chart)
Docker_Windows TestFunctional/parallel/ImageCommands/ImageTagAndLoadDaemon (gopogh) 48.20 (chart)
Docker_Windows TestFunctional/parallel/ImageCommands/Setup (gopogh) 48.20 (chart)
Docker_Windows TestFunctional/parallel/NonActiveRuntimeDisabled (gopogh) 48.20 (chart)
Docker_Windows TestFunctional/parallel/SSHCmd (gopogh) 48.20 (chart)
Docker_Windows TestFunctional/parallel/UpdateContextCmd/no_changes (gopogh) 48.20 (chart)
Docker_Windows TestFunctional/parallel/UpdateContextCmd/no_clusters (gopogh) 48.20 (chart)
Docker_Windows TestFunctional/parallel/UpdateContextCmd/no_minikube_cluster (gopogh) 48.20 (chart)
Docker_Windows TestFunctional/parallel/Version/components (gopogh) 48.20 (chart)
Docker_Windows TestFunctional/serial/CacheCmd/cache/cache_reload (gopogh) 48.20 (chart)
Docker_Windows TestFunctional/serial/CacheCmd/cache/verify_cache_inside_node (gopogh) 48.20 (chart)
More tests... Continued...

Too many tests failed - See test logs for more details.

To see the flake rates of all tests by environment, click here.

@klaases
Copy link
Contributor Author

klaases commented Jul 15, 2022

Updated before section with the following:

Before: Linux system without cri-dockerd installed with k8s >= v.1.24.

$ sudo -E ./out/minikube start --driver=none
๐Ÿ˜„  minikube v1.26.0 on Debian rodete (kvm/amd64)
โœจ  Using the none driver based on user configuration
๐Ÿ‘  Starting control plane node minikube in cluster minikube
๐Ÿคน  Running on localhost (CPUs=48, Memory=181315MB, Disk=142997MB) ...
โ„น๏ธ  OS release is Debian GNU/Linux rodete

โŒ  Exiting due to RUNTIME_ENABLE: Temporary Error: sudo crictl version: exit status 1
stdout:

stderr:
time="2022-07-15T18:33:39Z" level=fatal msg="unable to determine runtime API version: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial unix /var/run/cri-dockerd.sock: connect: connection refused\""


โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚                                                                                           โ”‚
โ”‚    ๐Ÿ˜ฟ  If the above advice does not help, please let us know:                             โ”‚
โ”‚    ๐Ÿ‘‰  https://github.com/kubernetes/minikube/issues/new/choose                           โ”‚
โ”‚                                                                                           โ”‚
โ”‚    Please run `minikube logs --file=logs.txt` and attach logs.txt to the GitHub issue.    โ”‚
โ”‚                                                                                           โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

Before the error was:

โŒ  Exiting due to RUNTIME_ENABLE: Temporary Error: sudo crictl version: exit status 1
stdout:

After the error is:

โŒ  Exiting due to RT_DOCKER_MISSING_CRI_DOCKER_NONE: sudo systemctl enable cri-docker.socket: exit status 1
stdout:

This should make it easier to tell that CRI-DOCKER needs to be installed.

@klaases
Copy link
Contributor Author

klaases commented Jul 15, 2022

Thanks @spowelljr for indicating thatcri-dockerd was still running and helping me to remove it by providing the following commands:

sudo rm /var/run/cri-dockerd.sock
sudo rm /etc/systemd/system/cri-docker.service
sudo rm /etc/systemd/system/cri-docker.socket
sudo systemctl daemon-reload
sudo -E ./out/minikube delete
sudo -E ./out/minikube start --driver none

However now the before code returns the following error:

โŒ  Exiting due to RT_DOCKER_MISSING_CRI_DOCKER_NONE: sudo systemctl enable cri-docker.socket: exit status 1

TODO: confirm whether the Available() is actually being called.

@medyagh
Copy link
Member

medyagh commented Jul 15, 2022

please ensure the PR description is correct,

Checks for both cri-dockerd and dockerd only apply if the Kubernetes version is less than v1.24.

it should be greater or equal to

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.

can you please clarify in the PR description if this check happens Before or After minikube tries to install Kubernetes? (I suggest attaching the lastStart log file

pkg/minikube/cruntime/docker.go Show resolved Hide resolved
pkg/minikube/cruntime/docker.go Show resolved Hide resolved
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 would like this PR to Proactively return a clean message instead of Failing and letting the failure to go to the RegEx matching
instead of

$ sudo -E ./out/minikube start --driver=none
๐Ÿ˜„  minikube v1.26.0 on Debian rodete (kvm/amd64)
โœจ  Using the none driver based on user configuration
๐Ÿ‘  Starting control plane node minikube in cluster minikube
๐Ÿคน  Running on localhost (CPUs=48, Memory=181315MB, Disk=142997MB) ...
โ„น๏ธ  OS release is Debian GNU/Linux rodete

โŒ  Exiting due to RUNTIME_ENABLE: Temporary Error: sudo crictl version: exit status 1
stdout:

stderr:
time="2022-07-15T18:33:39Z" level=fatal msg="unable to determine runtime API version: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial unix /var/run/cri-dockerd.sock: connect: connection refused\""


โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚                                                                                           โ”‚
โ”‚    ๐Ÿ˜ฟ  If the above advice does not help, please let us know:                             โ”‚
โ”‚    ๐Ÿ‘‰  https://github.com/kubernetes/minikube/issues/new/choose                           โ”‚
โ”‚                                                                                           โ”‚
โ”‚    Please run `minikube logs --file=logs.txt` and attach logs.txt to the GitHub issue.    โ”‚
โ”‚                                                                                           โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

it should Exit before it Fails and goes to our already RegEx matching (the solution message is already there) the point of this PR is to prevent it to go further before it fails

it should be something like:

$ sudo -E ./out/minikube start --driver=none
๐Ÿ˜„  minikube v1.26.0 on Debian rodete (kvm/amd64)
โœจ  Using the none driver based on user configuration
๐Ÿ‘  Starting control plane node minikube in cluster minikube
๐Ÿคน  Running on localhost (CPUs=48, Memory=181315MB, Disk=142997MB) ...
โ„น๏ธ  OS release is Debian GNU/Linux rodete
โŒ   cri-dockerd is not installed , please install ...using the instruction in this URL ...

to achieve this you can use ErrorTypes simmilar to the ones we have in the OCI package, and when the Error is returned the caller of the function can check if the ErrorType is "NoneDependencyCriDockerd" then prints a clean solution message before it goes and fails

@klaases
Copy link
Contributor Author

klaases commented Jul 15, 2022

please ensure the PR description is correct,

Checks for both cri-dockerd and dockerd only apply if the Kubernetes version is less than v1.24.

it should be greater or equal to

Applied.

@minikube-pr-bot
Copy link

kvm2 driver with docker runtime

+----------------+----------+---------------------+
|    COMMAND     | MINIKUBE | MINIKUBE (PR 14555) |
+----------------+----------+---------------------+
| minikube start | 57.3s    | 56.5s               |
| enable ingress | 30.0s    | 29.7s               |
+----------------+----------+---------------------+

Times for minikube start: 58.3s 57.5s 57.3s 55.8s 57.6s
Times for minikube (PR 14555) start: 57.5s 56.1s 56.1s 56.4s 56.6s

Times for minikube ingress: 29.3s 30.3s 30.8s 30.3s 29.3s
Times for minikube (PR 14555) ingress: 29.7s 29.7s 29.7s 30.2s 29.2s

docker driver with docker runtime
error collecting results for docker driver: timing run 0 with minikube: timing cmd: [out/minikube addons enable ingress]: waiting for minikube: exit status 10
docker driver with containerd runtime
error downloading artifacts: artifact download start: exit status 90

@minikube-pr-bot
Copy link

These are the flake rates of all failed tests.

Environment Failed Tests Flake Rate (%)
Docker_macOS TestFunctional/parallel/DashboardCmd (gopogh) 14.69 (chart)
Hyperkit_macOS TestPause/serial/SecondStartNoReconfiguration (gopogh) 19.72 (chart)
Docker_Linux_containerd TestPause/serial/Start (gopogh) 20.27 (chart)
Docker_Linux_containerd TestOffline (gopogh) 24.32 (chart)
Docker_Linux_containerd TestAddons/Setup (gopogh) 25.68 (chart)
Docker_Linux_containerd TestFunctional/parallel/DashboardCmd (gopogh) 25.68 (chart)
Docker_Linux_containerd TestFunctional/parallel/MountCmd/any-port (gopogh) 25.68 (chart)
Docker_Linux_containerd TestFunctional/parallel/MySQL (gopogh) 25.68 (chart)
Docker_Linux_containerd TestFunctional/parallel/PersistentVolumeClaim (gopogh) 25.68 (chart)
Docker_Linux_containerd TestFunctional/parallel/ServiceCmd (gopogh) 25.68 (chart)
Docker_Linux_containerd TestFunctional/parallel/ServiceCmdConnect (gopogh) 25.68 (chart)
Docker_Linux_containerd TestFunctional/parallel/TunnelCmd/serial/AccessDirect (gopogh) 25.68 (chart)
Docker_Linux_containerd TestFunctional/parallel/TunnelCmd/serial/WaitService/Setup (gopogh) 25.68 (chart)
Docker_Linux_containerd TestFunctional/serial/ExtraConfig (gopogh) 25.68 (chart)
Docker_Linux_containerd TestFunctional/serial/SoftStart (gopogh) 25.68 (chart)
Docker_Linux_containerd TestFunctional/serial/StartWithProxy (gopogh) 25.68 (chart)
Docker_Linux_containerd TestIngressAddonLegacy/serial/ValidateIngressAddonActivation (gopogh) 25.68 (chart)
Docker_Linux_containerd TestIngressAddonLegacy/StartLegacyK8sCluster (gopogh) 25.68 (chart)
Docker_Linux_containerd TestJSONOutput/start/Command (gopogh) 25.68 (chart)
Docker_Linux_containerd TestMultiNode/serial/AddNode (gopogh) 25.68 (chart)
Docker_Linux_containerd TestMultiNode/serial/DeleteNode (gopogh) 25.68 (chart)
Docker_Linux_containerd TestMultiNode/serial/DeployApp2Nodes (gopogh) 25.68 (chart)
Docker_Linux_containerd TestMultiNode/serial/FreshStart2Nodes (gopogh) 25.68 (chart)
Docker_Linux_containerd TestMultiNode/serial/PingHostFrom2Pods (gopogh) 25.68 (chart)
Docker_Linux_containerd TestMultiNode/serial/ProfileList (gopogh) 25.68 (chart)
Docker_Linux_containerd TestMultiNode/serial/StartAfterStop (gopogh) 25.68 (chart)
Docker_Linux_containerd TestMultiNode/serial/StopNode (gopogh) 25.68 (chart)
Docker_Linux_containerd TestPreload (gopogh) 25.68 (chart)
Docker_Linux_containerd TestMultiNode/serial/RestartKeepsNodes (gopogh) 27.70 (chart)
Docker_Linux_containerd TestMultiNode/serial/RestartMultiNode (gopogh) 27.70 (chart)
More tests... Continued...

Too many tests failed - See test logs for more details.

To see the flake rates of all tests by environment, click here.

@minikube-pr-bot
Copy link

kvm2 driver with docker runtime

+----------------+----------+---------------------+
|    COMMAND     | MINIKUBE | MINIKUBE (PR 14555) |
+----------------+----------+---------------------+
| minikube start | 58.1s    | 57.6s               |
| enable ingress | 30.7s    | 29.7s               |
+----------------+----------+---------------------+

Times for minikube start: 57.9s 60.1s 57.9s 57.4s 57.3s
Times for minikube (PR 14555) start: 61.0s 57.6s 57.3s 55.8s 56.2s

Times for minikube ingress: 32.3s 31.3s 31.3s 29.3s 29.3s
Times for minikube (PR 14555) ingress: 30.2s 30.3s 29.2s 29.7s 29.3s

docker driver with docker runtime
error collecting results for docker driver: timing run 0 with minikube: timing cmd: [out/minikube addons enable ingress]: waiting for minikube: exit status 10
docker driver with containerd runtime
error downloading artifacts: artifact download start: exit status 90

@minikube-pr-bot
Copy link

These are the flake rates of all failed tests.

Environment Failed Tests Flake Rate (%)
Docker_macOS TestDownloadOnly/v1.24.3/preload-exists (gopogh) n/a
Docker_macOS TestAddons/Setup (gopogh) 0.00 (chart)
Docker_macOS TestBinaryMirror (gopogh) 0.00 (chart)
Docker_macOS TestErrorSpam/setup (gopogh) 0.00 (chart)
Docker_macOS TestFunctional/parallel/MountCmd/any-port (gopogh) 0.00 (chart)
Docker_macOS TestDownloadOnlyKic (gopogh) 1.36 (chart)
Docker_Cloud_Shell TestStartStop/group/cloud-shell/serial/AddonExistsAfterStop (gopogh) 8.67 (chart)
Docker_Cloud_Shell TestStartStop/group/cloud-shell/serial/EnableAddonAfterStop (gopogh) 8.67 (chart)
Docker_Cloud_Shell TestStartStop/group/cloud-shell/serial/SecondStart (gopogh) 8.67 (chart)
Docker_Cloud_Shell TestStartStop/group/cloud-shell/serial/Stop (gopogh) 8.67 (chart)
Docker_Cloud_Shell TestStartStop/group/cloud-shell/serial/UserAppExistsAfterStop (gopogh) 8.67 (chart)
KVM_Linux_containerd TestPause/serial/SecondStartNoReconfiguration (gopogh) 13.38 (chart)
Docker_Linux_containerd TestOffline (gopogh) 24.32 (chart)
Docker_Linux_containerd TestAddons/Setup (gopogh) 25.68 (chart)
Docker_Linux_containerd TestFunctional/parallel/DashboardCmd (gopogh) 25.68 (chart)
Docker_Linux_containerd TestFunctional/parallel/MountCmd/any-port (gopogh) 25.68 (chart)
Docker_Linux_containerd TestFunctional/parallel/MySQL (gopogh) 25.68 (chart)
Docker_Linux_containerd TestFunctional/parallel/PersistentVolumeClaim (gopogh) 25.68 (chart)
Docker_Linux_containerd TestFunctional/parallel/ServiceCmd (gopogh) 25.68 (chart)
Docker_Linux_containerd TestFunctional/parallel/ServiceCmdConnect (gopogh) 25.68 (chart)
Docker_Linux_containerd TestFunctional/parallel/TunnelCmd/serial/AccessDirect (gopogh) 25.68 (chart)
Docker_Linux_containerd TestFunctional/parallel/TunnelCmd/serial/WaitService/Setup (gopogh) 25.68 (chart)
Docker_Linux_containerd TestFunctional/serial/ExtraConfig (gopogh) 25.68 (chart)
Docker_Linux_containerd TestFunctional/serial/SoftStart (gopogh) 25.68 (chart)
Docker_Linux_containerd TestFunctional/serial/StartWithProxy (gopogh) 25.68 (chart)
Docker_Linux_containerd TestIngressAddonLegacy/serial/ValidateIngressAddonActivation (gopogh) 25.68 (chart)
Docker_Linux_containerd TestIngressAddonLegacy/StartLegacyK8sCluster (gopogh) 25.68 (chart)
Docker_Linux_containerd TestJSONOutput/start/Command (gopogh) 25.68 (chart)
Docker_Linux_containerd TestMultiNode/serial/AddNode (gopogh) 25.68 (chart)
Docker_Linux_containerd TestMultiNode/serial/DeleteNode (gopogh) 25.68 (chart)
More tests... Continued...

Too many tests failed - See test logs for more details.

To see the flake rates of all tests by environment, click here.

@minikube-pr-bot
Copy link

kvm2 driver with docker runtime

+----------------+----------+---------------------+
|    COMMAND     | MINIKUBE | MINIKUBE (PR 14555) |
+----------------+----------+---------------------+
| minikube start | 56.1s    | 55.8s               |
| enable ingress | 27.3s    | 28.4s               |
+----------------+----------+---------------------+

Times for minikube start: 54.8s 56.8s 55.7s 56.6s 56.7s
Times for minikube (PR 14555) start: 54.4s 55.8s 56.8s 55.5s 56.5s

Times for minikube ingress: 25.1s 25.6s 26.6s 30.1s 29.1s
Times for minikube (PR 14555) ingress: 28.6s 30.0s 26.6s 28.5s 28.1s

docker driver with docker runtime
error collecting results for docker driver: timing run 0 with minikube: timing cmd: [out/minikube addons enable ingress]: waiting for minikube: exit status 10
docker driver with containerd runtime
error downloading artifacts: artifact download start: exit status 90

@minikube-pr-bot
Copy link

These are the flake rates of all failed tests.

Environment Failed Tests Flake Rate (%)
Docker_macOS TestDownloadOnly/v1.24.3/preload-exists (gopogh) n/a
Docker_Linux_containerd TestStartStop/group/embed-certs/serial/EnableAddonWhileActive (gopogh) 0.00 (chart)
Hyper-V_Windows TestNetworkPlugins/group/custom-flannel/NetCatPod (gopogh) 0.00 (chart)
KVM_Linux TestNetworkPlugins/group/auto/Start (gopogh) 0.00 (chart)
Docker_macOS TestDownloadOnlyKic (gopogh) 1.36 (chart)
Docker_Linux_containerd TestPause/serial/Start (gopogh) 20.27 (chart)
Docker_Linux_containerd TestOffline (gopogh) 24.32 (chart)
Docker_Linux_containerd TestAddons/Setup (gopogh) 25.68 (chart)
Docker_Linux_containerd TestFunctional/parallel/DashboardCmd (gopogh) 25.68 (chart)
Docker_Linux_containerd TestFunctional/parallel/MountCmd/any-port (gopogh) 25.68 (chart)
Docker_Linux_containerd TestFunctional/parallel/MySQL (gopogh) 25.68 (chart)
Docker_Linux_containerd TestFunctional/parallel/PersistentVolumeClaim (gopogh) 25.68 (chart)
Docker_Linux_containerd TestFunctional/parallel/ServiceCmd (gopogh) 25.68 (chart)
Docker_Linux_containerd TestFunctional/parallel/ServiceCmdConnect (gopogh) 25.68 (chart)
Docker_Linux_containerd TestFunctional/parallel/TunnelCmd/serial/AccessDirect (gopogh) 25.68 (chart)
Docker_Linux_containerd TestFunctional/parallel/TunnelCmd/serial/WaitService/Setup (gopogh) 25.68 (chart)
Docker_Linux_containerd TestFunctional/serial/ExtraConfig (gopogh) 25.68 (chart)
Docker_Linux_containerd TestFunctional/serial/SoftStart (gopogh) 25.68 (chart)
Docker_Linux_containerd TestFunctional/serial/StartWithProxy (gopogh) 25.68 (chart)
Docker_Linux_containerd TestIngressAddonLegacy/serial/ValidateIngressAddonActivation (gopogh) 25.68 (chart)
Docker_Linux_containerd TestIngressAddonLegacy/StartLegacyK8sCluster (gopogh) 25.68 (chart)
Docker_Linux_containerd TestJSONOutput/start/Command (gopogh) 25.68 (chart)
Docker_Linux_containerd TestMultiNode/serial/AddNode (gopogh) 25.68 (chart)
Docker_Linux_containerd TestMultiNode/serial/DeleteNode (gopogh) 25.68 (chart)
Docker_Linux_containerd TestMultiNode/serial/DeployApp2Nodes (gopogh) 25.68 (chart)
Docker_Linux_containerd TestMultiNode/serial/FreshStart2Nodes (gopogh) 25.68 (chart)
Docker_Linux_containerd TestMultiNode/serial/PingHostFrom2Pods (gopogh) 25.68 (chart)
Docker_Linux_containerd TestMultiNode/serial/ProfileList (gopogh) 25.68 (chart)
Docker_Linux_containerd TestMultiNode/serial/StartAfterStop (gopogh) 25.68 (chart)
Docker_Linux_containerd TestMultiNode/serial/StopNode (gopogh) 25.68 (chart)
More tests... Continued...

Too many tests failed - See test logs for more details.

To see the flake rates of all tests by environment, click here.

@minikube-pr-bot
Copy link

kvm2 driver with docker runtime

+----------------+----------+---------------------+
|    COMMAND     | MINIKUBE | MINIKUBE (PR 14555) |
+----------------+----------+---------------------+
| minikube start | 56.8s    | 57.0s               |
| enable ingress | 27.5s    | 27.3s               |
+----------------+----------+---------------------+

Times for minikube (PR 14555) ingress: 25.1s 28.6s 25.6s 30.2s 27.1s
Times for minikube ingress: 26.1s 29.1s 25.6s 26.1s 30.6s

Times for minikube (PR 14555) start: 57.4s 57.3s 56.4s 55.8s 58.0s
Times for minikube start: 60.2s 56.2s 55.6s 55.1s 57.0s

docker driver with docker runtime
error collecting results for docker driver: timing run 0 with minikube: timing cmd: [out/minikube addons enable ingress]: waiting for minikube: exit status 10
docker driver with containerd runtime
error downloading artifacts: artifact download start: exit status 90

@minikube-pr-bot
Copy link

kvm2 driver with docker runtime

+----------------+----------+---------------------+
|    COMMAND     | MINIKUBE | MINIKUBE (PR 14555) |
+----------------+----------+---------------------+
| minikube start | 56.2s    | 56.0s               |
| enable ingress | 27.7s    | 29.7s               |
+----------------+----------+---------------------+

Times for minikube ingress: 25.1s 25.6s 29.1s 29.6s 29.2s
Times for minikube (PR 14555) ingress: 29.1s 30.0s 30.1s 30.0s 29.1s

Times for minikube start: 57.2s 55.7s 56.3s 55.6s 56.4s
Times for minikube (PR 14555) start: 57.2s 54.8s 56.3s 55.1s 56.8s

docker driver with docker runtime
error collecting results for docker driver: timing run 0 with minikube: timing cmd: [out/minikube addons enable ingress]: waiting for minikube: exit status 10
docker driver with containerd runtime
error downloading artifacts: artifact download start: exit status 90

@minikube-pr-bot
Copy link

These are the flake rates of all failed tests.

Environment Failed Tests Flake Rate (%)
Hyperkit_macOS TestNoKubernetes/serial/Stop (gopogh) 0.70 (chart)
Docker_Linux_containerd TestStartStop/group/no-preload/serial/SecondStart (gopogh) 12.50 (chart)
Docker_Linux_containerd TestPause/serial/Start (gopogh) 20.27 (chart)
Docker_Linux_containerd TestOffline (gopogh) 24.32 (chart)
Docker_Linux_containerd TestAddons/Setup (gopogh) 25.68 (chart)
Docker_Linux_containerd TestFunctional/parallel/DashboardCmd (gopogh) 25.68 (chart)
Docker_Linux_containerd TestFunctional/parallel/MountCmd/any-port (gopogh) 25.68 (chart)
Docker_Linux_containerd TestFunctional/parallel/MySQL (gopogh) 25.68 (chart)
Docker_Linux_containerd TestFunctional/parallel/PersistentVolumeClaim (gopogh) 25.68 (chart)
Docker_Linux_containerd TestFunctional/parallel/ServiceCmd (gopogh) 25.68 (chart)
Docker_Linux_containerd TestFunctional/parallel/ServiceCmdConnect (gopogh) 25.68 (chart)
Docker_Linux_containerd TestFunctional/parallel/TunnelCmd/serial/AccessDirect (gopogh) 25.68 (chart)
Docker_Linux_containerd TestFunctional/parallel/TunnelCmd/serial/WaitService/Setup (gopogh) 25.68 (chart)
Docker_Linux_containerd TestFunctional/serial/ExtraConfig (gopogh) 25.68 (chart)
Docker_Linux_containerd TestFunctional/serial/SoftStart (gopogh) 25.68 (chart)
Docker_Linux_containerd TestFunctional/serial/StartWithProxy (gopogh) 25.68 (chart)
Docker_Linux_containerd TestIngressAddonLegacy/serial/ValidateIngressAddonActivation (gopogh) 25.68 (chart)
Docker_Linux_containerd TestIngressAddonLegacy/StartLegacyK8sCluster (gopogh) 25.68 (chart)
Docker_Linux_containerd TestJSONOutput/start/Command (gopogh) 25.68 (chart)
Docker_Linux_containerd TestMultiNode/serial/AddNode (gopogh) 25.68 (chart)
Docker_Linux_containerd TestMultiNode/serial/DeleteNode (gopogh) 25.68 (chart)
Docker_Linux_containerd TestMultiNode/serial/DeployApp2Nodes (gopogh) 25.68 (chart)
Docker_Linux_containerd TestMultiNode/serial/FreshStart2Nodes (gopogh) 25.68 (chart)
Docker_Linux_containerd TestMultiNode/serial/PingHostFrom2Pods (gopogh) 25.68 (chart)
Docker_Linux_containerd TestMultiNode/serial/ProfileList (gopogh) 25.68 (chart)
Docker_Linux_containerd TestMultiNode/serial/StartAfterStop (gopogh) 25.68 (chart)
Docker_Linux_containerd TestMultiNode/serial/StopNode (gopogh) 25.68 (chart)
Docker_Linux_containerd TestPreload (gopogh) 25.68 (chart)
Docker_Linux_containerd TestMultiNode/serial/RestartKeepsNodes (gopogh) 27.70 (chart)
Docker_Linux_containerd TestMultiNode/serial/RestartMultiNode (gopogh) 27.70 (chart)
More tests... Continued...

Too many tests failed - See test logs for more details.

To see the flake rates of all tests by environment, click here.

@minikube-pr-bot
Copy link

These are the flake rates of all failed tests.

Environment Failed Tests Flake Rate (%)
Docker_macOS TestAddons/Setup (gopogh) 0.00 (chart)
Docker_macOS TestBinaryMirror (gopogh) 0.00 (chart)
Docker_macOS TestDownloadOnly/v1.24.3/preload-exists (gopogh) 0.00 (chart)
Docker_macOS TestErrorSpam/setup (gopogh) 0.00 (chart)
Docker_macOS TestFunctional/parallel/MountCmd/any-port (gopogh) 0.00 (chart)
Docker_macOS TestDownloadOnlyKic (gopogh) 1.97 (chart)
KVM_Linux_containerd TestPause/serial/SecondStartNoReconfiguration (gopogh) 12.03 (chart)
Docker_Linux_containerd TestPause/serial/Start (gopogh) 23.68 (chart)
Docker_Linux_containerd TestOffline (gopogh) 26.32 (chart)
Docker_Linux_containerd TestAddons/Setup (gopogh) 29.61 (chart)
Docker_Linux_containerd TestFunctional/parallel/DashboardCmd (gopogh) 29.61 (chart)
Docker_Linux_containerd TestFunctional/parallel/MountCmd/any-port (gopogh) 29.61 (chart)
Docker_Linux_containerd TestFunctional/parallel/MySQL (gopogh) 29.61 (chart)
Docker_Linux_containerd TestFunctional/parallel/PersistentVolumeClaim (gopogh) 29.61 (chart)
Docker_Linux_containerd TestFunctional/parallel/ServiceCmd (gopogh) 29.61 (chart)
Docker_Linux_containerd TestFunctional/parallel/ServiceCmdConnect (gopogh) 29.61 (chart)
Docker_Linux_containerd TestFunctional/parallel/TunnelCmd/serial/AccessDirect (gopogh) 29.61 (chart)
Docker_Linux_containerd TestFunctional/parallel/TunnelCmd/serial/WaitService/Setup (gopogh) 29.61 (chart)
Docker_Linux_containerd TestFunctional/serial/ExtraConfig (gopogh) 29.61 (chart)
Docker_Linux_containerd TestFunctional/serial/SoftStart (gopogh) 29.61 (chart)
Docker_Linux_containerd TestFunctional/serial/StartWithProxy (gopogh) 29.61 (chart)
Docker_Linux_containerd TestIngressAddonLegacy/serial/ValidateIngressAddonActivation (gopogh) 29.61 (chart)
Docker_Linux_containerd TestIngressAddonLegacy/StartLegacyK8sCluster (gopogh) 29.61 (chart)
Docker_Linux_containerd TestJSONOutput/start/Command (gopogh) 29.61 (chart)
Docker_Linux_containerd TestMultiNode/serial/AddNode (gopogh) 29.61 (chart)
Docker_Linux_containerd TestMultiNode/serial/DeleteNode (gopogh) 29.61 (chart)
Docker_Linux_containerd TestMultiNode/serial/DeployApp2Nodes (gopogh) 29.61 (chart)
Docker_Linux_containerd TestMultiNode/serial/FreshStart2Nodes (gopogh) 29.61 (chart)
Docker_Linux_containerd TestMultiNode/serial/PingHostFrom2Pods (gopogh) 29.61 (chart)
Docker_Linux_containerd TestMultiNode/serial/ProfileList (gopogh) 29.61 (chart)
More tests... Continued...

Too many tests failed - See test logs for more details.

To see the flake rates of all tests by environment, click here.

pkg/minikube/machine/start.go Outdated Show resolved Hide resolved
pkg/minikube/reason/reason.go Outdated Show resolved Hide resolved
pkg/minikube/reason/reason.go Outdated Show resolved Hide resolved
@klaases
Copy link
Contributor Author

klaases commented Jul 28, 2022

Updated messaging per above requests.

/ok-to-test

@minikube-pr-bot
Copy link

kvm2 driver with docker runtime

+----------------+----------+---------------------+
|    COMMAND     | MINIKUBE | MINIKUBE (PR 14555) |
+----------------+----------+---------------------+
| minikube start | 56.6s    | 56.8s               |
| enable ingress | 28.3s    | 28.1s               |
+----------------+----------+---------------------+

Times for minikube (PR 14555) start: 57.2s 55.7s 56.5s 57.5s 57.3s
Times for minikube start: 55.9s 56.7s 56.2s 57.3s 56.9s

Times for minikube ingress: 28.6s 28.6s 29.6s 29.1s 25.6s
Times for minikube (PR 14555) ingress: 24.6s 29.6s 29.1s 28.2s 29.1s

docker driver with docker runtime

+----------------+----------+---------------------+
|    COMMAND     | MINIKUBE | MINIKUBE (PR 14555) |
+----------------+----------+---------------------+
| minikube start | 28.0s    | 28.1s               |
| enable ingress | 22.9s    | 22.6s               |
+----------------+----------+---------------------+

Times for minikube start: 26.2s 29.9s 26.4s 29.2s 28.3s
Times for minikube (PR 14555) start: 27.5s 28.2s 27.9s 28.0s 29.1s

Times for minikube (PR 14555) ingress: 22.5s 21.9s 22.0s 22.5s 23.9s
Times for minikube ingress: 22.0s 23.0s 23.0s 23.5s 23.0s

docker driver with containerd runtime

+----------------+----------+---------------------+
|    COMMAND     | MINIKUBE | MINIKUBE (PR 14555) |
+----------------+----------+---------------------+
| minikube start | 25.9s    | 23.5s               |
| enable ingress | 26.5s    | 27.3s               |
+----------------+----------+---------------------+

Times for minikube start: 35.1s 24.1s 23.0s 23.7s 23.3s
Times for minikube (PR 14555) start: 23.3s 23.3s 23.2s 23.9s 23.8s

Times for minikube ingress: 26.4s 26.4s 25.9s 26.4s 27.4s
Times for minikube (PR 14555) ingress: 27.5s 27.0s 26.9s 27.4s 27.5s

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: klaases, spowelljr

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

The pull request process is described here

Needs approval from an approver in each of these files:

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 28, 2022
@spowelljr spowelljr merged commit 3e839c4 into kubernetes:master Jul 28, 2022
@klaases klaases deleted the doc1 branch July 28, 2022 22:53
@minikube-pr-bot
Copy link

These are the flake rates of all failed tests.

Environment Failed Tests Flake Rate (%)
Docker_Cloud_Shell TestStartStop/group/cloud-shell/serial/AddonExistsAfterStop (gopogh) 7.64 (chart)
Docker_Cloud_Shell TestStartStop/group/cloud-shell/serial/EnableAddonAfterStop (gopogh) 7.64 (chart)
Docker_Cloud_Shell TestStartStop/group/cloud-shell/serial/SecondStart (gopogh) 7.64 (chart)
Docker_Cloud_Shell TestStartStop/group/cloud-shell/serial/Stop (gopogh) 7.64 (chart)
Docker_Cloud_Shell TestStartStop/group/cloud-shell/serial/UserAppExistsAfterStop (gopogh) 7.64 (chart)
Docker_Linux TestPause/serial/SecondStartNoReconfiguration (gopogh) 10.14 (chart)
Docker_macOS TestMultiNode/serial/RestartKeepsNodes (gopogh) 10.42 (chart)
Docker_macOS TestFunctional/parallel/DashboardCmd (gopogh) 13.19 (chart)
Docker_Linux_containerd TestNetworkPlugins/group/kindnet/DNS (gopogh) 15.96 (chart)
KVM_Linux TestPause/serial/SecondStartNoReconfiguration (gopogh) 33.33 (chart)
Hyper-V_Windows TestNoKubernetes/serial/StartWithK8s (gopogh) 44.70 (chart)
Docker_Windows TestStartStop/group/newest-cni/serial/Pause (gopogh) 71.81 (chart)
Docker_Windows TestNetworkPlugins/group/calico/NetCatPod (gopogh) 72.73 (chart)
Docker_Linux TestNetworkPlugins/group/calico/Start (gopogh) 76.09 (chart)
Docker_Linux_containerd TestNetworkPlugins/group/calico/Start (gopogh) 78.43 (chart)
Docker_Linux_containerd TestNetworkPlugins/group/enable-default-cni/DNS (gopogh) 81.08 (chart)
Docker_Linux_containerd TestNetworkPlugins/group/bridge/DNS (gopogh) 82.08 (chart)
Docker_Linux TestNetworkPlugins/group/bridge/DNS (gopogh) 86.96 (chart)
Docker_Linux TestNetworkPlugins/group/enable-default-cni/DNS (gopogh) 87.68 (chart)
Docker_Linux TestNetworkPlugins/group/kubenet/DNS (gopogh) 87.68 (chart)
Docker_Linux TestNetworkPlugins/group/false/DNS (gopogh) 89.13 (chart)
KVM_Linux TestMultiNode/serial/ValidateNameConflict (gopogh) 96.00 (chart)
Docker_Linux_containerd TestKubernetesUpgrade (gopogh) 100.00 (chart)
Docker_macOS TestDownloadOnly/v1.16.0/preload-exists (gopogh) 100.00 (chart)
Docker_macOS TestIngressAddonLegacy/serial/ValidateIngressAddonActivation (gopogh) 100.00 (chart)
Docker_macOS TestIngressAddonLegacy/serial/ValidateIngressAddons (gopogh) 100.00 (chart)
Docker_macOS TestIngressAddonLegacy/serial/ValidateIngressDNSAddonActivation (gopogh) 100.00 (chart)
Docker_macOS TestIngressAddonLegacy/StartLegacyK8sCluster (gopogh) 100.00 (chart)
Docker_macOS TestKubernetesUpgrade (gopogh) 100.00 (chart)
Docker_macOS TestMissingContainerUpgrade (gopogh) 100.00 (chart)
More tests... Continued...

Too many tests failed - See test logs for more details.

To see the flake rates of all tests by environment, click here.

@minikube-pr-bot
Copy link

kvm2 driver with docker runtime

+----------------+----------+---------------------+
|    COMMAND     | MINIKUBE | MINIKUBE (PR 14555) |
+----------------+----------+---------------------+
| minikube start | 55.8s    | 55.9s               |
| enable ingress | 28.2s    | 28.5s               |
+----------------+----------+---------------------+

Times for minikube start: 55.0s 57.9s 56.8s 55.6s 53.6s
Times for minikube (PR 14555) start: 56.9s 56.5s 55.6s 54.3s 56.4s

Times for minikube ingress: 30.1s 30.7s 25.0s 29.5s 25.6s
Times for minikube (PR 14555) ingress: 25.1s 29.2s 29.1s 26.6s 32.5s

docker driver with docker runtime

+----------------+----------+---------------------+
|    COMMAND     | MINIKUBE | MINIKUBE (PR 14555) |
+----------------+----------+---------------------+
| minikube start | 28.1s    | 27.6s               |
| enable ingress | 23.8s    | 23.1s               |
+----------------+----------+---------------------+

Times for minikube start: 27.8s 27.3s 28.7s 27.6s 29.1s
Times for minikube (PR 14555) start: 26.7s 28.3s 27.3s 28.0s 27.8s

Times for minikube (PR 14555) ingress: 23.5s 22.9s 23.5s 23.0s 22.5s
Times for minikube ingress: 26.5s 22.5s 23.0s 24.5s 22.5s

docker driver with containerd runtime

+----------------+----------+---------------------+
|    COMMAND     | MINIKUBE | MINIKUBE (PR 14555) |
+----------------+----------+---------------------+
| minikube start | 23.4s    | 25.9s               |
| enable ingress | 27.3s    | 27.8s               |
+----------------+----------+---------------------+

Times for minikube ingress: 27.0s 27.0s 27.4s 27.4s 27.4s
Times for minikube (PR 14555) ingress: 27.0s 27.4s 29.5s 27.5s 27.4s

Times for minikube (PR 14555) start: 34.8s 24.5s 24.0s 22.5s 23.8s
Times for minikube start: 23.7s 23.8s 23.1s 23.2s 23.4s

@minikube-pr-bot
Copy link

These are the flake rates of all failed tests.

Environment Failed Tests Flake Rate (%)
Hyper-V_Windows TestNoKubernetes/serial/ProfileList (gopogh) n/a
Hyper-V_Windows TestNoKubernetes/serial/StartNoArgs (gopogh) n/a
Hyper-V_Windows TestNoKubernetes/serial/Stop (gopogh) n/a
Docker_Linux TestFunctional/parallel/DashboardCmd (gopogh) 0.00 (chart)
Hyperkit_macOS TestFunctional/parallel/ImageCommands/ImageLoadDaemon (gopogh) 0.00 (chart)
Hyperkit_macOS TestFunctional/parallel/ImageCommands/ImageLoadFromFile (gopogh) 0.00 (chart)
Hyperkit_macOS TestFunctional/parallel/ImageCommands/ImageReloadDaemon (gopogh) 0.00 (chart)
Hyperkit_macOS TestFunctional/parallel/ImageCommands/ImageSaveDaemon (gopogh) 0.00 (chart)
Hyperkit_macOS TestFunctional/parallel/ImageCommands/ImageSaveToFile (gopogh) 0.00 (chart)
Hyperkit_macOS TestFunctional/parallel/ImageCommands/ImageTagAndLoadDaemon (gopogh) 0.00 (chart)
Hyperkit_macOS TestFunctional/parallel/ImageCommands/Setup (gopogh) 0.00 (chart)
Hyper-V_Windows TestCertExpiration (gopogh) 0.00 (chart)
Hyper-V_Windows TestCertOptions (gopogh) 0.00 (chart)
Hyper-V_Windows TestDockerFlags (gopogh) 0.00 (chart)
Hyper-V_Windows TestForceSystemdEnv (gopogh) 0.00 (chart)
Hyper-V_Windows TestForceSystemdFlag (gopogh) 0.00 (chart)
Hyper-V_Windows TestKubernetesUpgrade (gopogh) 0.00 (chart)
Hyper-V_Windows TestMinikubeProfile (gopogh) 0.00 (chart)
Hyper-V_Windows TestNetworkPlugins/group/auto/Start (gopogh) 0.00 (chart)
Hyper-V_Windows TestOffline (gopogh) 0.00 (chart)
Hyper-V_Windows TestPause/serial/Start (gopogh) 0.00 (chart)
Hyper-V_Windows TestRunningBinaryUpgrade (gopogh) 0.00 (chart)
Hyper-V_Windows TestStartStop/group/default-k8s-different-port/serial/AddonExistsAfterStop (gopogh) 0.00 (chart)
Hyper-V_Windows TestStartStop/group/default-k8s-different-port/serial/DeployApp (gopogh) 0.00 (chart)
Hyper-V_Windows TestStartStop/group/default-k8s-different-port/serial/EnableAddonAfterStop (gopogh) 0.00 (chart)
Hyper-V_Windows TestStartStop/group/default-k8s-different-port/serial/EnableAddonWhileActive (gopogh) 0.00 (chart)
Hyper-V_Windows TestStartStop/group/default-k8s-different-port/serial/FirstStart (gopogh) 0.00 (chart)
Hyper-V_Windows TestStartStop/group/default-k8s-different-port/serial/SecondStart (gopogh) 0.00 (chart)
Hyper-V_Windows TestStartStop/group/default-k8s-different-port/serial/Stop (gopogh) 0.00 (chart)
Hyper-V_Windows TestStartStop/group/default-k8s-different-port/serial/UserAppExistsAfterStop (gopogh) 0.00 (chart)
More tests... Continued...

Too many tests failed - See test logs for more details.

To see the flake rates of all tests by environment, click here.

@medyagh
Copy link
Member

medyagh commented Aug 1, 2022

lets have a better PR tittle for this, the goal is, we should be able to say what the PR is doing in the changelog

@klaases klaases changed the title none-driver: check cri-dockerd & dockerd runtimes Check for cri-dockerd & dockerd runtimes when using none-driver on Kubernetes 1.24+ Aug 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
7 participants