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

tee party: Stream cmd output to tests when -v is enabled, and stream SSH output to logs #3475

Merged
merged 6 commits into from
Dec 21, 2018

Conversation

tstromberg
Copy link
Contributor

@tstromberg tstromberg commented Dec 20, 2018

Impact on tests:

When verbose mode is enabled (-v), the integration tests will stream minikube output line-by-line to stdout. This is compatible with the default behavior of goverbose mode, which logs all tests as they are run. See https://golang.org/cmd/go/#hdr-Testing_flags for details.

Impact on minikube:

When commands are executed over SSH, the output is streamed line-by-line to glog.Infof().

Impact on integration tests:

Significantly more test output, but hopfeully much easier to debug mystery problems.

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Dec 20, 2018
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: tstromberg

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 20, 2018
@tstromberg
Copy link
Contributor Author

@minikube-bot OK to test

@tstromberg
Copy link
Contributor Author

NOTE: Linux-KVM flake is #3478

Copy link
Contributor

@balopat balopat left a comment

Choose a reason for hiding this comment

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

LGTM, thank you so much for this!

@tstromberg tstromberg merged commit ae4221b into kubernetes:master Dec 21, 2018
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. 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.

3 participants