-
Notifications
You must be signed in to change notification settings - Fork 38.6k
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 --verbose option to test/e2e/ #24471
Comments
This script counts the log lines for each step in the E2Es...
runnning this on the test output from the CI, I get these culprits for scaleout overlogging...
We could actually run this at the end of jenkins jobs if we want to punish overlogging programmatically. but for nowill just audit these tests and make them less verbose. |
fyi @timothysc "scale killers" overlogging. |
Then fix them ;-) |
On it yup |
culprit:
So, I think the simplest solution is to have the debug logs go into an output file, which has both INFO as well as DEBUG. |
Dug some more, I have a patch that will do this the easy way,
Thus, this separates ginkgo progress logs from debug e2e logs (Which almost always really should be verbose) from the other logs (which can be on/off via |
Automatic merge from submit-queue Logging soak Implements #24427 Needs - #24471 so that it doesnt clog test outputs for scale - builds on the utils function added in support of #22869 cc @timothysc @kubernetes/sig-testing
/sig testing |
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or |
/remove-area test-infra |
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. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Problem
There are a few issues in the e2e tests which are very verbose at +10 node scale. This can make it hard to interpret and read through the results of a test run, esp. when there are multiple failures. The two things i've seen in the past.
Proposed Solution (4/18/2016)
When developing e2es at small (2-4) node scale, the info is very useful. We should log lots of stuff, but just minimize the output, unless the user specifies
--verbose
.UPDATED SOLUTION (4/21/2016)
The simplest solution wound up simply supporting (2) below. (1) can be done later if we really need to.
So we should
Debugf
which runs by default in small clusters.Debugf
.Logf
across the e2e suite.cc @kubernetes/sig-testing @kubernetes/sig-scalability
The text was updated successfully, but these errors were encountered: