Closed Bug 1034925 Opened 10 years ago Closed 6 years ago

submit_balrog_updates ignores fatal_exit_code arg and does not change build status

Categories

(Release Engineering :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: jlund, Assigned: jlund)

Details

(Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/2315] [mozharness])

Attachments

(2 files, 1 obsolete file)

this is part of a bigger issue. As it stands, if you run run_command() with halt_on_failure = False and fatal_exit_code = 3, the fatal_exit_code does nothing. This is because you chose to not fatal (halt_on_failure) so the fatal_exit_code arg is ignored.

bug 985068 will fix this so by me not getting to that yet, some of the responsibility falls on me here.

Regardless here is a quick fix for the balrog issue.
Attachment #8451312 - Flags: review?(aki)
this patch removes redundant log output of what the return code was.

also, turning the patch over to ben since he is back this week.
Attachment #8451312 - Attachment is obsolete: true
Attachment #8451312 - Flags: review?(aki)
Attachment #8451388 - Flags: review?(bhearsum)
I'm not sure we want to do this, per bug 922626. Ryan, do you still feel the same about this?
Flags: needinfo?(ryanvm)
Not a ton of context to go off here, but based on my fuzzy recollections of bug 922626, Ben is right. In general, we don't want builds burning on TBPL for a non-fatal error. I might be persuaded to have them turn orange, though. In principle, I agree that silently missing errors is less than ideal :)
Flags: needinfo?(ryanvm)
Comment on attachment 8451388 [details] [diff] [review]
140706_balrog_ignores_fatal_exit_code.patch

I'm going to take Ryan's comment as "orange is okay". So r=me if you set whatever rc turns into orange.
Attachment #8451388 - Flags: review?(bhearsum) → review-
r=bhearsum
Attachment #8458396 - Flags: review+
Comment on attachment 8458396 [details] [diff] [review]
140717_balrog_ignores_fatal_exit_code.patch

https://hg.mozilla.org/build/mozharness/rev/2e66da12da92
Attachment #8458396 - Flags: checked-in+
In production.
Whiteboard: [mozharness] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/2312] [mozharness]
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/2312] [mozharness] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/2315] [mozharness]
This is buildbot, buildbot is dying!
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Component: General Automation → General
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: