-
Notifications
You must be signed in to change notification settings - Fork 8
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
When script fails with exit code 1 we want to see the reason in logs #106
When script fails with exit code 1 we want to see the reason in logs #106
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #106 +/- ##
==========================================
- Coverage 64.58% 64.20% -0.39%
==========================================
Files 5 5
Lines 336 338 +2
==========================================
Hits 217 217
- Misses 99 101 +2
Partials 20 20
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
b891f61
to
b94f7ad
Compare
b94f7ad
to
cbcd0b2
Compare
Use case: problem in covnersion script when script exited with 1 but we had to manually reproduce the situation to see which part of code was problematic Signed-off-by: Andrea Waltlova <[email protected]>
cbcd0b2
to
2905cb0
Compare
I will wait with this one, I want to test it locally in vagrant box to make sure the error and exit code don't fail, we would have to make new release anyway. |
as per logs and tests in vagrant box if script exits with one it is contained in the er itself Signed-off-by: Andrea Waltlova <[email protected]>
Alright, looks alright to me! Below is the log when I made syntax error in python script (=makes the execution end with exit code 1), I removed the duplicate exit status log from this MR since it is in the
|
@andywaltlova, please go ahead. I'm afraid that this won't land in the worker for quite some time now. I think we can only do a release next year as we are out of time for pushing any releases right now. |
Use case: problem in conversion script when script exited with 1 but we had to manually reproduce the situation to see which part of code was problematic
Related to oamg/convert2rhel-insights-tasks#46