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

don't show tracebacks unless all attempts are exhausted #39

Open
bhearsum opened this issue Aug 10, 2017 · 0 comments
Open

don't show tracebacks unless all attempts are exhausted #39

bhearsum opened this issue Aug 10, 2017 · 0 comments

Comments

@bhearsum
Copy link
Contributor

In automation at Mozilla, we do a lot of heuristic log parsing to find exceptions and highlight them. One of the scenarios we've been running into a lot lately is where we have a job that uses redo, it prints some tracebacks, a subsequent attempt succeeds, but then the job fails for an unrelated reason (eg: a timeout is some non-retried thing). This ends up with the traceback that we successfully retried for getting highlighted, and confusion ensues.

We should stop printing tracebacks at less verbose log levels unless we've exhausted all the attempts.

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

No branches or pull requests

1 participant