[ 
https://issues.apache.org/jira/browse/BEAM-6603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16762079#comment-16762079
 ] 

Mark Liu edited comment on BEAM-6603 at 2/6/19 8:13 PM:
--------------------------------------------------------

True. I didn't see nose version change or nose command change to those tests 
recently. Py3 tests did not print INFO and DEBUG logs initially when they were 
added to Jenkins (for example [this precommit cron 
build|https://builds.apache.org/view/A-D/view/Beam/view/PostCommit/job/beam_PreCommit_Python_Cron/911/])

Reopened https://github.com/apache/beam/pull/7752 to disable log capture plugin 
so that no INFO and DEBUG logs will be printed out. The down side of this 
change is that those logs will not longer be available if test fails.

I think it's okay to disable in unit test and only print INFO for integration 
tests.


was (Author: markflyhigh):
True. I didn't see nose version change or nose command change to those tests 
recently. Py3 tests do not print INFO and DEBUG logs initially when they were 
added to Jenkins (for example [this precommit cron 
build|https://builds.apache.org/view/A-D/view/Beam/view/PostCommit/job/beam_PreCommit_Python_Cron/911/])

Reopened https://github.com/apache/beam/pull/7752 to disable log capture plugin 
so that no INFO and DEBUG logs will be printed out. The down side of this 
change is that those logs will not longer be available if test fails.

I think it's okay to disable in unit test and only print INFO for integration 
tests.

> Python Pre/PostCommit generate huge console log
> -----------------------------------------------
>
>                 Key: BEAM-6603
>                 URL: https://issues.apache.org/jira/browse/BEAM-6603
>             Project: Beam
>          Issue Type: Bug
>          Components: build-system, testing
>            Reporter: Mark Liu
>            Priority: Major
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> From the history of beam_PreCommit_Python_Cron, Huge console log are 
> generated starting from [this 
> build|https://builds.apache.org/job/beam_PreCommit_Python_Cron/914/]. About 
> 30MB console log is generated and most of them are INFO and DEBUG log from 
> pipeline running. This causes [console 
> output|https://builds.apache.org/job/beam_PreCommit_Python_Cron/914/console] 
> load very slow and no gradle scan is available due to too large logs.
> Three commit changes since last build seems not related to logging 
> configuration. Not sure if it's related to other changes that's not listed 
> there or the Jenkins update.
> Currently we can disable nose flag 
> [`--nocapture`|https://github.com/apache/beam/search?q=nocapture&type=Code] 
> that's passed to integration tests, so that stdout will be captured by nose 
> and only print if test fails. However, we should understand why those logs 
> are enabled and control it properly.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to