-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Add integration test for minikube ssh: stdin input #8359
Comments
Seems to be related to 7224064, @sharifelgamal please take a look
When you revert that commit, it goes back to normal:
However, the value of the |
The difference that was made, was the order between the calls: ssh.SetDefaultClient host.CreateSSHClient That would be from github.com/docker/machine/libmachine/ssh |
Basically the old code always used external, the new code always native. --native-ssh=false --native-ssh=true And the native implementation seems to be broken (doesn't work). |
Possibly related to this bug: docker/machine#4806
Yup, looks familiar:
|
So you're exactly right, there are 2 separate issues here:
The first one is easy enough to fix, it was just a regression I introduced. The second one should be able to be fixed, at least on our fork of libmachine. |
Looks like some kind of bottomless hole, regarding MakeRaw and Like https://golang.org/cl/33902 and friends, and termios stuff like OPOST and ONLCR |
Maybe it would be possible to fix the regression separate from the more complicated issues with native SSH? Just asking because of the change of priority from "important-soon" to "important-longterm", while the effort required to fix just the regression appears to be quite small, as far as I understand. If I may be of any assistance (Open a separate issue; Open a PR attempting to fix the regression or similar), please say so. |
Hey @joshmue if you would be interested in opening a PR that would be great! Info about contributing: https://minikube.sigs.k8s.io/docs/contrib/ |
Alright, I will take a look into it! |
this is still a bug, I tried myself
I am not sure what is the source of the bug, but if someone finds out why this is happening, we should add integration test so we never break this again ! ( I suspect this is something about native ssh flag not being set correctly, once we tried to fix this and windows was broken) |
#9417 should fix the underlying bug. It does not contain an integration test, though. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Steps to reproduce the issue:
minikube_v1.11.0
(and v1.10.1 asminikube_v1.10.1
for reference)../minikube_v1.11.0 start
(VirtualBox installed).The data is handled (twice?), but the process does not terminate.
For reference, the same command using
minikube_v1.10.1
is working as expected:I assume this is a regression? Please ask if you need any more information.
The text was updated successfully, but these errors were encountered: