-
Notifications
You must be signed in to change notification settings - Fork 168
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
kola: return 77 on warning and use different colors to highlight tests results #3551
Conversation
nikita-dubrovskii
commented
Aug 1, 2023
44ca97a
to
7ca5410
Compare
7ca5410
to
57a0198
Compare
57a0198
to
9750f17
Compare
Let's get the exit code to the top level when a non-zero exit code is returned. This allows someone to take different behavior based on the exit code.
This will allow callers to behave differently based on the exitcode.
Co-authored-by: Dusty Mabe <[email protected]>
… of it was dropped in pipeline
9750f17
to
406f359
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This commit refactors the arguments and error handling for `kola` into a runKola function to make it easier to manage. Most calls in this file use mostly the same arguments, so this is a nice cleanup. This commit also adds the `--on-warn-failure-exit-77` option [1] and adds handling to mark a test as `warn()` if that happens versus the typical `error()`. [1] coreos/coreos-assembler#3551
/cherry-pick rhcos-4.14 |
@dustymabe: new pull request created: #3578 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
This commit refactors the arguments and error handling for `kola` into a runKola closure to make it easier to manage. Most calls in this file use mostly the same arguments, so this is a nice cleanup. This commit also adds the `--on-warn-failure-exit-77` option [1] and adds handling to mark a test as `warn()` if that happens versus the typical `error()`. [1] coreos/coreos-assembler#3551
This commit refactors the arguments and error handling for `kola` into a runKola closure to make it easier to manage. Most calls in this file use mostly the same arguments, so this is a nice cleanup. This commit also adds the `--on-warn-failure-exit-77` option [1] and adds handling to mark a test as `warn()` if that happens versus the typical `error()`. [1] coreos/coreos-assembler#3551