The gradle scan doesn't pinpoint the error message, and it doesn't contain
all the lines: https://scans.gradle.com/s/ckhjrjdexpuzm/console-log

The logs might be useful, but usually not from passing tests. Doesn't
gradle log output from failed tests by default?

On Wed, Dec 19, 2018 at 1:22 PM Thomas Weise <t...@apache.org> wrote:

> I usually follow the download procedure outlined by Scott to look at the
> logs.
>
> These logs are big, but when there is a problem it is sometimes essential
> to have the extra output, especially for less frequent flakes.
>
> Reducing logs would then require the author to add extra logging to the PR
> (and attempt to reproduce), which is also not nice.
>
> Thomas
>
>
> On Wed, Dec 19, 2018 at 11:47 AM Scott Wegner <sc...@apache.org> wrote:
>
>> I'm not sure what we lose by dropping the --info flag, but I generally
>> worry about reducing log output since logs are the main resource for
>> diagnosing Jenkins build errors.
>>
>> It seems the issue is that Chrome doesn't scale well to large log files.
>> A few alternative solutions:
>>
>> 1. Use the produced Build Scan (example: [1]) instead of the raw console
>> log. The build scan is quite useful at pointing to what actually failed,
>> and filtering log output for only that task.
>> 2. Instead of consoleFull, use consoleText ("View as plain text" link in
>> Jenkins), which seems to be much easier on Chrome
>> 3. Download the consoleText output locally and use your favorite log
>> viewer that can scale to large files.
>>
>> [1] https://gradle.com/s/ckhjrjdexpuzm
>>
>> On Wed, Dec 19, 2018 at 10:42 AM Udi Meiri <eh...@google.com> wrote:
>>
>>> Hi all,
>>> I'd like to reduce precommit log sizes on Jenkins. For example:
>>> https://builds.apache.org/job/beam_PreCommit_Java_Commit/3181/consoleFull
>>> is 79M, which makes Chrome sluggish to use on it (tab is constantly
>>> using a whole cpu core).
>>>
>>> I know this might be controversial, but I'd like to propose to remove
>>> the --info flag from the gradlew command line.
>>>
>>>
>>
>> --
>>
>>
>>
>>
>> Got feedback? tinyurl.com/swegner-feedback
>>
>

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to