-
Notifications
You must be signed in to change notification settings - Fork 304
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
HPCC-30305 Improve job failure detection and report #17787
HPCC-30305 Improve job failure detection and report #17787
Conversation
https://track.hpccsystems.com/browse/HPCC-30305 |
helm/hpcc/templates/_helpers.tpl
Outdated
@@ -1633,12 +1633,14 @@ args: | |||
{{- end }} | |||
- >- | |||
{{ $check_cmd.command }}; | |||
exitCode=$?; | |||
k8s_postjob_clearup.sh; | |||
{{- if $misc.postJobCommandViaSidecar -}} ; |
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.
trivial. Extra ; I think.
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.
agree, will remove
if (exitCode) // non-zero = failure | ||
{ | ||
output.appendf(" %s '%s' failed with exitCode = %u", fields.item(1), fields.item(2), exitCode); | ||
return true; |
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.
can more than one fail? Is it worth continuing? (I suspect the answer is no)
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.
no, 1st will cause the pod to fail.
Signed-off-by: Jake Smith <[email protected]>
6e654e7
to
b5d7aeb
Compare
@ghalliday - removed extra ; (squashed in) |
Type of change:
Checklist:
Smoketest:
Testing: