Skip to content

Conversation

prezha
Copy link
Contributor

@prezha prezha commented Jan 26, 2025

fixes #19288

this pr ensures that, when requested (via --wait flag), we wait until all (at least one) pods that have one of the CorePodsLabels in the kube-system namespace to be "Ready" or timeout


note: this pr should be merged after #20313 (and then rebase, solving expected conflicts)

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. approved Indicates a PR has been approved by an approver from all required OWNERS files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jan 26, 2025
@prezha
Copy link
Contributor Author

prezha commented Jan 26, 2025

/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 Jan 26, 2025
@minikube-pr-bot

This comment has been minimized.

@minikube-pr-bot

This comment has been minimized.

@prezha prezha changed the title Fix waiting for all pods having one of specified labels to be Ready [WIP] Fix waiting for all pods having specified labels to be Ready Jan 27, 2025
@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jan 27, 2025
@minikube-pr-bot

This comment has been minimized.

@minikube-pr-bot

This comment has been minimized.

@minikube-pr-bot

This comment has been minimized.

@minikube-pr-bot

This comment has been minimized.

@minikube-pr-bot

This comment has been minimized.

@minikube-pr-bot

This comment has been minimized.

@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Feb 1, 2025
@minikube-pr-bot

This comment has been minimized.

@minikube-pr-bot

This comment has been minimized.

@minikube-pr-bot

This comment has been minimized.

@minikube-pr-bot

This comment has been minimized.

@prezha prezha changed the title [WIP] Fix waiting for all pods having specified labels to be Ready Fix waiting for all pods having specified labels to be Ready Feb 5, 2025
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Feb 5, 2025
@minikube-pr-bot
Copy link

kvm2 driver with docker runtime

+----------------+----------+---------------------+
|    COMMAND     | MINIKUBE | MINIKUBE (PR 20315) |
+----------------+----------+---------------------+
| minikube start | 51.1s    | 52.9s               |
| enable ingress | 16.0s    | 18.0s               |
+----------------+----------+---------------------+

Times for minikube start: 50.3s 50.6s 52.0s 52.0s 50.5s
Times for minikube (PR 20315) start: 53.9s 54.9s 51.6s 54.4s 49.7s

Times for minikube ingress: 16.1s 15.0s 16.0s 18.0s 15.0s
Times for minikube (PR 20315) ingress: 19.0s 15.1s 19.0s 18.6s 18.1s

docker driver with docker runtime

+----------------+----------+---------------------+
|    COMMAND     | MINIKUBE | MINIKUBE (PR 20315) |
+----------------+----------+---------------------+
| minikube start | 22.4s    | 22.1s               |
| enable ingress | 12.7s    | 12.7s               |
+----------------+----------+---------------------+

Times for minikube (PR 20315) start: 23.6s 23.4s 20.3s 22.7s 20.8s
Times for minikube start: 21.4s 23.9s 21.0s 21.7s 24.2s

Times for minikube (PR 20315) ingress: 12.8s 12.8s 12.9s 12.8s 12.3s
Times for minikube ingress: 12.8s 12.8s 12.8s 12.3s 12.8s

docker driver with containerd runtime

+----------------+----------+---------------------+
|    COMMAND     | MINIKUBE | MINIKUBE (PR 20315) |
+----------------+----------+---------------------+
| minikube start | 21.8s    | 21.9s               |
| enable ingress | 35.6s    | 37.7s               |
+----------------+----------+---------------------+

Times for minikube start: 20.1s 23.8s 22.3s 22.7s 20.3s
Times for minikube (PR 20315) start: 23.3s 24.0s 22.2s 19.7s 20.1s

Times for minikube ingress: 38.8s 38.8s 38.8s 22.8s 38.8s
Times for minikube (PR 20315) ingress: 38.8s 32.3s 38.8s 39.3s 39.3s

@minikube-pr-bot
Copy link

Here are the number of top 10 failed tests in each environments with lowest flake rate.

Environment Test Name Flake Rate
Docker_Linux_crio_arm64 (3 failed) TestScheduledStopUnix(gopogh) 5.88% (chart)
Docker_Linux_crio_arm64 (3 failed) TestFunctional/parallel/PersistentVolumeClaim(gopogh) 10.87% (chart)

Besides the following environments also have failed tests:

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

@medyagh
Copy link
Member

medyagh commented Apr 28, 2025

/lgtm

@medyagh medyagh merged commit c8a63fa into kubernetes:master Apr 28, 2025
27 of 34 checks passed
@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 28, 2025
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: medyagh, prezha

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

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. lgtm "Looks good to me", indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

--wait flag sometimes misses pods
4 participants