Open thomasjm opened 2 months ago
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: thomasjm Once this PR has been reviewed and has the lgtm label, please assign prezha for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.
Hi @thomasjm. Thanks for your PR.
I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test
on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test
label.
I understand the commands that are listed here.
Can one of the admins verify this patch?
@thomasjm thank you for this PR, do you mind sharing the output an example, before/after this PR ?
/ok-to-test
kvm2 driver with docker runtime
+----------------+----------+---------------------+
| COMMAND | MINIKUBE | MINIKUBE (PR 19344) |
+----------------+----------+---------------------+
| minikube start | 52.0s | 51.4s |
| enable ingress | 27.8s | 26.7s |
+----------------+----------+---------------------+
docker driver with docker runtime
+----------------+----------+---------------------+
| COMMAND | MINIKUBE | MINIKUBE (PR 19344) |
+----------------+----------+---------------------+
| minikube start | 23.2s | 24.1s |
| enable ingress | 22.4s | 21.9s |
+----------------+----------+---------------------+
docker driver with containerd runtime
+----------------+----------+---------------------+
| COMMAND | MINIKUBE | MINIKUBE (PR 19344) |
+----------------+----------+---------------------+
| minikube start | 21.0s | 21.9s |
| enable ingress | 48.4s | 39.4s |
+----------------+----------+---------------------+
do you mind sharing the output an example, before/after this PR ?
Before PR:
tom@desktop2 ~ » minikube image ls
...
registry.k8s.io/coredns/coredns:v1.11.1
gcr.io/k8s-minikube/storage-provisioner:v5
docker.io/library/busybox:1.36.1-musl
After PR:
tom@desktop2 ~ » ~/tools/minikube/out/minikube image ls
...
registry.k8s.io/coredns/coredns:v1.11.1
gcr.io/k8s-minikube/storage-provisioner:v5
busybox:1.36.1-musl
Notice how only the busybox
image, which doesn't have a domain name, is affected.
I see there are some test failures, I'll look into these when I get a minute.
Here are the number of top 10 failed tests in each environments with lowest flake rate.
Environment | Test Name | Flake Rate |
---|---|---|
Docker_Cloud_Shell (9 failed) | TestFunctional/parallel/ImageCommands/ImageLoadDaemon(gopogh) | 0.00% (chart) |
Docker_Cloud_Shell (9 failed) | TestFunctional/parallel/ImageCommands/ImageReloadDaemon(gopogh) | 0.00% (chart) |
Docker_Cloud_Shell (9 failed) | TestFunctional/parallel/ImageCommands/ImageTagAndLoadDaemon(gopogh) | 0.00% (chart) |
Docker_Cloud_Shell (9 failed) | TestFunctional/parallel/ImageCommands/ImageLoadFromFile(gopogh) | 0.00% (chart) |
KVM_Linux (4 failed) | TestFunctional/parallel/ImageCommands/ImageLoadDaemon(gopogh) | 0.00% (chart) |
KVM_Linux (4 failed) | TestFunctional/parallel/ImageCommands/ImageReloadDaemon(gopogh) | 0.00% (chart) |
KVM_Linux (4 failed) | TestFunctional/parallel/ImageCommands/ImageTagAndLoadDaemon(gopogh) | 0.00% (chart) |
KVM_Linux (4 failed) | TestFunctional/parallel/ImageCommands/ImageLoadFromFile(gopogh) | 0.00% (chart) |
Docker_Linux (4 failed) | TestFunctional/parallel/ImageCommands/ImageLoadDaemon(gopogh) | 0.00% (chart) |
Docker_Linux (4 failed) | TestFunctional/parallel/ImageCommands/ImageReloadDaemon(gopogh) | 0.00% (chart) |
Docker_Linux (4 failed) | TestFunctional/parallel/ImageCommands/ImageTagAndLoadDaemon(gopogh) | 0.00% (chart) |
Docker_Linux (4 failed) | TestFunctional/parallel/ImageCommands/ImageLoadFromFile(gopogh) | 0.00% (chart) |
Docker_Linux_docker_arm64 (4 failed) | TestFunctional/parallel/ImageCommands/ImageLoadDaemon(gopogh) | 0.00% (chart) |
Docker_Linux_docker_arm64 (4 failed) | TestFunctional/parallel/ImageCommands/ImageReloadDaemon(gopogh) | 0.00% (chart) |
Docker_Linux_docker_arm64 (4 failed) | TestFunctional/parallel/ImageCommands/ImageTagAndLoadDaemon(gopogh) | 0.00% (chart) |
Docker_Linux_docker_arm64 (4 failed) | TestFunctional/parallel/ImageCommands/ImageLoadFromFile(gopogh) | 0.00% (chart) |
Besides the following environments also have failed tests:
Docker_Linux_crio: 2 failed (gopogh)
KVM_Linux_crio: 12 failed (gopogh)
QEMU_macOS: 156 failed (gopogh)
Docker_Linux_containerd_arm64: 1 failed (gopogh)
Docker_Linux_crio_arm64: 2 failed (gopogh)
To see the flake rates of all tests by environment, click here.
PR needs rebase.
This PR removes the use of the
addDockerIO
/TrimDockerIO
functions when working with Docker images, in order to address #19343.closes https://github.com/kubernetes/minikube/issues/19343