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

suppress error msg incase of no cluster existence #17713

Merged
merged 3 commits into from
Mar 21, 2024

Conversation

tarishij17
Copy link
Contributor

@tarishij17 tarishij17 commented Dec 2, 2023

Fixes #17315

Before:

$ minikube delete
πŸ™„  "minikube" profile does not exist, trying anyways.
❌  Failed to stop ssh-agent process: failed loading config: cluster "minikube" does not exist
πŸ’€  Removed all traces of the "minikube" cluster.

After:

$ minikube delete
πŸ™„  "minikube" profile does not exist, trying anyways.
πŸ’€  Removed all traces of the "minikube" cluster.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Dec 2, 2023
@k8s-ci-robot
Copy link
Contributor

Welcome @tarishij17!

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

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

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

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

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

Thank you, and welcome to Kubernetes. πŸ˜ƒ

@k8s-ci-robot k8s-ci-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Dec 2, 2023
@k8s-ci-robot
Copy link
Contributor

Hi @tarishij17. Thanks for your PR.

I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@tarishij17 tarishij17 changed the title suppress error msg incase of no cluster exitence suppress error msg incase of no cluster existence Dec 2, 2023
@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Dec 2, 2023
@minikube-bot
Copy link
Collaborator

Can one of the admins verify this patch?

Copy link

@dharmit dharmit left a comment

Choose a reason for hiding this comment

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

First timer here. Let me know if I'm being naive. :)

pkg/minikube/sshagent/sshagent.go Outdated Show resolved Hide resolved
@spowelljr
Copy link
Member

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Mar 20, 2024
@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 20, 2024
pkg/minikube/sshagent/sshagent.go Outdated Show resolved Hide resolved
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

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

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

@minikube-pr-bot

This comment has been minimized.

@minikube-pr-bot

This comment has been minimized.

@minikube-pr-bot
Copy link

kvm2 driver with docker runtime

+----------------+----------+---------------------+
|    COMMAND     | MINIKUBE | MINIKUBE (PR 17713) |
+----------------+----------+---------------------+
| minikube start | 52.3s    | 53.1s               |
| enable ingress | 26.4s    | 25.4s               |
+----------------+----------+---------------------+

Times for minikube start: 51.3s 50.9s 53.3s 54.6s 51.2s
Times for minikube (PR 17713) start: 53.2s 55.3s 54.0s 50.3s 52.5s

Times for minikube ingress: 25.0s 27.6s 27.1s 24.6s 27.5s
Times for minikube (PR 17713) ingress: 27.5s 24.5s 23.5s 24.0s 27.5s

docker driver with docker runtime

+----------------+----------+---------------------+
|    COMMAND     | MINIKUBE | MINIKUBE (PR 17713) |
+----------------+----------+---------------------+
| minikube start | 22.2s    | 22.9s               |
| enable ingress | 21.2s    | 21.6s               |
+----------------+----------+---------------------+

Times for minikube start: 21.5s 23.9s 23.6s 21.0s 20.9s
Times for minikube (PR 17713) start: 20.6s 23.2s 23.4s 23.5s 23.7s

Times for minikube ingress: 21.3s 21.2s 21.2s 21.2s 21.3s
Times for minikube (PR 17713) ingress: 21.3s 22.2s 22.2s 20.8s 21.2s

docker driver with containerd runtime

+----------------+----------+---------------------+
|    COMMAND     | MINIKUBE | MINIKUBE (PR 17713) |
+----------------+----------+---------------------+
| minikube start | 22.5s    | 19.6s               |
| enable ingress | 32.1s    | 33.6s               |
+----------------+----------+---------------------+

Times for minikube (PR 17713) start: 19.3s 20.3s 20.3s 18.9s 19.2s
Times for minikube start: 21.7s 22.6s 23.2s 22.1s 22.8s

Times for minikube (PR 17713) ingress: 32.7s 31.3s 30.8s 26.7s 46.7s
Times for minikube ingress: 27.7s 20.8s 31.7s 47.7s 32.7s

@minikube-pr-bot
Copy link

These are the flake rates of all failed tests.

Environment Failed Tests Flake Rate (%)
Hyper-V_Windows TestMultiControlPlane/serial/CopyFile (gopogh) 20.00 (chart)
QEMU_macOS TestAddons/Setup (gopogh) 23.26 (chart)
QEMU_macOS TestFunctional/parallel/CpCmd (gopogh) 23.26 (chart)
QEMU_macOS TestFunctional/parallel/FileSync (gopogh) 23.26 (chart)
QEMU_macOS TestFunctional/parallel/NonActiveRuntimeDisabled (gopogh) 23.26 (chart)
QEMU_macOS TestFunctional/parallel/SSHCmd (gopogh) 23.26 (chart)
QEMU_macOS TestFunctional/parallel/UpdateContextCmd/no_clusters (gopogh) 23.26 (chart)
QEMU_macOS TestFunctional/parallel/UpdateContextCmd/no_minikube_cluster (gopogh) 23.26 (chart)
QEMU_macOS TestFunctional/parallel/Version/components (gopogh) 23.26 (chart)
QEMU_macOS TestFunctional/serial/LogsCmd (gopogh) 23.26 (chart)
QEMU_macOS TestFunctional/serial/LogsFileCmd (gopogh) 23.26 (chart)
QEMU_macOS TestErrorSpam/setup (gopogh) 25.58 (chart)
QEMU_macOS TestFunctional/parallel/CertSync (gopogh) 25.58 (chart)
QEMU_macOS TestFunctional/parallel/DashboardCmd (gopogh) 25.58 (chart)
QEMU_macOS TestFunctional/parallel/DockerEnv/bash (gopogh) 25.58 (chart)
QEMU_macOS TestFunctional/parallel/ImageCommands/ImageBuild (gopogh) 25.58 (chart)
QEMU_macOS TestFunctional/parallel/ImageCommands/ImageListJson (gopogh) 25.58 (chart)
QEMU_macOS TestFunctional/parallel/ImageCommands/ImageListShort (gopogh) 25.58 (chart)
QEMU_macOS TestFunctional/parallel/ImageCommands/ImageListTable (gopogh) 25.58 (chart)
QEMU_macOS TestFunctional/parallel/ImageCommands/ImageListYaml (gopogh) 25.58 (chart)
QEMU_macOS TestFunctional/parallel/ImageCommands/ImageLoadDaemon (gopogh) 25.58 (chart)
QEMU_macOS TestFunctional/parallel/ImageCommands/ImageLoadFromFile (gopogh) 25.58 (chart)
QEMU_macOS TestFunctional/parallel/ImageCommands/ImageReloadDaemon (gopogh) 25.58 (chart)
QEMU_macOS TestFunctional/parallel/ImageCommands/ImageSaveToFile (gopogh) 25.58 (chart)
QEMU_macOS TestFunctional/parallel/NodeLabels (gopogh) 25.58 (chart)
QEMU_macOS TestFunctional/parallel/PersistentVolumeClaim (gopogh) 25.58 (chart)
QEMU_macOS TestFunctional/parallel/ServiceCmd/DeployApp (gopogh) 25.58 (chart)
QEMU_macOS TestFunctional/parallel/ServiceCmd/Format (gopogh) 25.58 (chart)
QEMU_macOS TestFunctional/parallel/ServiceCmd/HTTPS (gopogh) 25.58 (chart)
QEMU_macOS TestFunctional/parallel/ServiceCmd/JSONOutput (gopogh) 25.58 (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.

@spowelljr spowelljr merged commit afaf858 into kubernetes:master Mar 21, 2024
25 of 38 checks passed
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/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failed to stop ssh-agent process: failed loading config: cluster "minikube" does not exist
7 participants