Skip to content

Less verbose CI output#1904

Merged
mlaventure merged 1 commit intocontainerd:masterfrom
dnephin:less-verbose-ci
Dec 16, 2017
Merged

Less verbose CI output#1904
mlaventure merged 1 commit intocontainerd:masterfrom
dnephin:less-verbose-ci

Conversation

@dnephin
Copy link
Copy Markdown
Contributor

@dnephin dnephin commented Dec 11, 2017

There's a lot of output in CI that isn't really relevant. This PR attempts to hide most of the irrelevant output. It depends on containerd/protobuild#12

No warnings or errors are hidden.

@stevvooe
Copy link
Copy Markdown
Member

@dnephin Approach looks good. Any side effects to this change?

I've poked the build, let's see if the new flag gets picked up.

@dnephin
Copy link
Copy Markdown
Contributor Author

dnephin commented Dec 15, 2017

No side effects I can think of

@dnephin
Copy link
Copy Markdown
Contributor Author

dnephin commented Dec 15, 2017

It looks like make coverage is still printing all the packages, let me see if I can fix that before we merge

@codecov-io
Copy link
Copy Markdown

codecov-io commented Dec 15, 2017

Codecov Report

Merging #1904 into master will decrease coverage by 0.03%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1904      +/-   ##
==========================================
- Coverage   47.23%   47.19%   -0.04%     
==========================================
  Files          91       91              
  Lines        8964     8964              
==========================================
- Hits         4234     4231       -3     
- Misses       4031     4033       +2     
- Partials      699      700       +1
Flag Coverage Δ
#linux 50.54% <ø> (ø) ⬆️
#windows 42.02% <ø> (-0.04%) ⬇️
Impacted Files Coverage Δ
content/local/store.go 50% <0%> (-0.8%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 71d1e55...274ce69. Read the comment docs.

Signed-off-by: Daniel Nephin <[email protected]>
@dnephin
Copy link
Copy Markdown
Contributor Author

dnephin commented Dec 15, 2017

Apparently go test -i prints to stderr , not stdout, so changed to 2> /dev/null for that line.

@stevvooe
Copy link
Copy Markdown
Member

@dnephin Should we remove -v from TESTFLAGS? That is by far the biggest offender and makes it hard to debug in CI.

@mlaventure
Copy link
Copy Markdown
Contributor

I like having -v to know what test is actually running. All it does is print the test name.

@stevvooe
Copy link
Copy Markdown
Member

All it does is print the test name.

Doesn't it also print logging, as well?

@mlaventure
Copy link
Copy Markdown
Contributor

Doesn't it also print logging, as well?

Oh, yes it does, I never do fmt.Print* in tests, so I forgot. Well, if we want to keep those print, I guess we should remove -v then

@dnephin
Copy link
Copy Markdown
Contributor Author

dnephin commented Dec 15, 2017

I personally like seeing the test names in CI, I think that output has value. From what I can see there isn't much stdout/stderr in the output right now. There are still a few t.Log() lines which could be removed

@stevvooe
Copy link
Copy Markdown
Member

LGTM

Copy link
Copy Markdown
Contributor

@mlaventure mlaventure left a comment

Choose a reason for hiding this comment

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

LGTM

Travis loads the log in a jiffy now, nice and clean!

@mlaventure mlaventure merged commit a921fb6 into containerd:master Dec 16, 2017
@dnephin dnephin deleted the less-verbose-ci branch December 16, 2017 00:16
@stevvooe
Copy link
Copy Markdown
Member

Marking this as cherry-pick so we can have faster builds on 1.0 release builds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants