-
Notifications
You must be signed in to change notification settings - Fork 40k
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
v1.2 "Kubectl client Simple pod should support port-forward" hanging when run with v1.3 Kubectl #26594
Comments
This looks like a result of #17030. That PR has a |
Hm. Even using stdout instead of stderr, I still see:
|
#22149 (comment) seems to be the problem; removing these calls fixes the problem:
@ncdc authored #23445, which I think we should backport to 1.2 and 1.1 if possible. |
@ihmccreery yeah that sounds like a correct analysis re closing stdout/stderr. But are 1.2 and 1.1 built with go 1.6? |
No, they aren't, but when Kubectl v1.3 is, so when running v1.2 tests with a v1.3 Kubectl, the new SIGPIPE logic applies, IIUC. |
I think the PR of mine you referenced only has to do with the e2e tests vs On Thursday, June 2, 2016, Isaac Hollander McCreery <
|
Nevermind, maybe... I think you're right 😄 |
My read of #22149 (comment) is that it's the version of Go the client is compiled with, combined with the
pattern that's the issue:
|
This is now affecting:
|
@ihmccreery by "this" do you mean deferred stdout/stderr.Close calls in the job test? |
Ah, no I mean #17030, which changed certain output from |
#26643 takes care of the hang, but doesn't address the root problem; we should follow it up with a PR into |
Automatic merge from submit-queue Add kubectl version guard around kubectl port-forward Fixes #26594 (once this gets backported to v1.2 and v1.3).
Repro:
My guess is just that this test just isn't resilient to empty output. Then there's the separate issue of actually fixing the root problem.
The text was updated successfully, but these errors were encountered: