-
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
Port-forward: use out and error streams instead of glog #17030
Conversation
@ncdc ptal |
Can one of the admins verify that this patch is reasonable to test? (reply "ok to test", or if you trust the user, reply "add to whitelist") If this message is too spammy, please complain to ixdy. |
1 similar comment
Can one of the admins verify that this patch is reasonable to test? (reply "ok to test", or if you trust the user, reply "add to whitelist") If this message is too spammy, please complain to ixdy. |
@csrwng - what is the motivation for this change? |
@wojtek-t 2 reasons: 1) the default glog format includes module and line number which is great for a debug log but not for interactive command output and 2) it makes the portforward command more usable from other commands if those commands can supply the output streams. |
@k8s-bot this this |
@k8s-bot add to whitelist |
@csrwng not sure what the exact failures are, given the build log is missing. You may want to download all the individual JUnit test artifacts to search for the failure :-/ |
@ixdy this has failed e2e 3 times but there's no build log. Any ideas what's going on? |
@csrwng finally got the failure info:
Do you think your output changes would cause this? Can you try to run this e2e locally? |
@ncdc yes, I'll try it locally later today. Thank you much for getting the log of the failure. And yes, it looks like the e2e test is expecting the old output of the portforward command, so it needs to be fixed. |
3cc63e6
to
3cbe826
Compare
Fixed the e2e test to expect output on stdout instead of stderr |
LGTM. @liggitt care to sanity check? |
Can one of the admins verify that this patch is reasonable to test? (reply "ok to test", or if you trust the user, reply "add to whitelist") If this message is too spammy, please complain to ixdy. |
PR needs rebase |
We need to decide if this is in or out ASAP. |
yeah |
that's fine with me... will rebase as well |
Please rebase and push |
rebased |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
GCE e2e build/test passed for commit 55114ef. |
Automatic merge from submit-queue |
Switches use of glog with command out and error streams