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

[travis] robustness, actually fail on errors #1603

Closed
wants to merge 1 commit into from

Conversation

BryanQuigley
Copy link
Contributor

This makes sure if we get errors (anything to stderr) in the build
it gets flagged. Today, it can be easily silently ignored.

Current build is broken by recent lgtm pull.

3.4 python also appears to be broken by something else.

Signed-off-by: Bryan Quigley [email protected]


Please place an 'X' inside each '[]' to confirm you adhere to our Contributor Guidelines

  • Is the commit message split over multiple lines and hard-wrapped at 72 characters?
  • Is the subject and message clear and concise?
  • Does the subject start with [plugin_name] if submitting a plugin patch or a [section_name] if part of the core sosreport code?
  • Does the commit contain a Signed-off-by: First Lastname [email protected]?

@BryanQuigley
Copy link
Contributor Author

This is a quick mockup of other changes I think we need to capture..

@bmr-cymru
Copy link
Member

Where are you seeing build breaks? Master looks OK to me according to current results, and I'm seeing a green light on the home page.

@bmr-cymru
Copy link
Member

OK, I'm with you now. Errors that don't currently cause a break.

@BryanQuigley BryanQuigley force-pushed the travis-robust branch 2 times, most recently from b69e977 to 4123955 Compare March 21, 2019 20:35
This makes sure if we get errors (anything to stderr) in the build
it gets flagged.  Today, it can be easily silently ignored.

Current build is broken by recent lgtm pull.

3.4 python also appears to be broken by an unneeded call out of the
chunksize when threading plugins landed.  According to the docs it
defaults to 1.

Signed-off-by: Bryan Quigley <[email protected]>
@BryanQuigley
Copy link
Contributor Author

fixed the python3.4 build now. thanks for the fixes to the collect errors. all green now and more robust

@bmr-cymru bmr-cymru closed this in 15e4dbd Mar 26, 2019
bmr-cymru pushed a commit that referenced this pull request Mar 26, 2019
3.4 python also appears to be broken by an unnecessary use of the
chunksize argument when threading plugins landed.  According to
the docs it defaults to 1, and has no effect for the
ThreadPoolExecutor class:

  "For very long iterables, using a large value for chunksize can
   significantly improve performance compared to the default size
   of 1. With ThreadPoolExecutor, chunksize has no effect."

Related: #1603

Signed-off-by: Bryan Quigley <[email protected]>
Signed-off-by: Bryn M. Reeves <[email protected]>
@bmr-cymru
Copy link
Member

I split this up into two patches, as the changes are not really related in any way.

@bmr-cymru bmr-cymru added this to the 3.7 milestone Mar 26, 2019
@BryanQuigley BryanQuigley deleted the travis-robust branch March 28, 2019 01:02
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.

2 participants