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

Lower yum log level to avoid travis log length limit on centos-6 #199

Merged

Conversation

cognifloyd
Copy link
Member

This is an optimization for tests that run on Travis.

Got this error when beginning the second suite of tests

The job exceeded the maximum log length, and has been terminated.

Other platforms do not have as many progress bars.

Compare these build logs to see why the YUM Progress bars are so
problematic.

without this change:
https://api.travis-ci.org/v3/job/430822100/log.txt
with this change:
https://api.travis-ci.org/v3/job/431074530/log.txt

Look below the line that includes:

Retrieving https://dl.fedoraproject.org/pub/epel

You will see pages and pages of useless epel/other download progress bars.

Got this error when beginning the second suite of tests
> The job exceeded the maximum log length, and has been terminated.

Other platforms do not have as many progress bars.

Compare these build logs to see why the YUM Progress bars are so
problematic.

without this change:
https://api.travis-ci.org/v3/job/430822100/log.txt
with this change:
https://api.travis-ci.org/v3/job/431074530/log.txt

Look below the line that includes:
>   Retrieving https://dl.fedoraproject.org/pub/epel

You will see pages and pages of useless epel/other download progress bars.
@cognifloyd
Copy link
Member Author

Extracted from #162 as it is helpful independent of that PR.

Copy link
Member

@arm4b arm4b left a comment

Choose a reason for hiding this comment

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

50k lines vs 5k lines of logs makes a huge diff!

Thanks! 👍

@arm4b arm4b merged commit 7a1b20e into StackStorm:master Sep 21, 2018
@cognifloyd cognifloyd deleted the centos6_yum_without_progress_bars branch September 24, 2020 03:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants