Closed Bug 1143850 Opened 9 years ago Closed 8 years ago

tooltool fetching from mozharness should have timeout support

Categories

(Release Engineering :: Applications: MozharnessCore, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: jlund, Unassigned)

References

Details

right now we have a mixin in mh that will wrap a tooltool fetch call around retry. however, we don't have the ability to pass a timeout for the step so we only retry on when we get return code not in success codes: http://hg.mozilla.org/build/mozharness/file/b2fdf31664ed/mozharness/mozilla/tooltool.py#l51

this is a problem if the fetch hangs (say on a network blip). we should be able to pass a timeout[1] so we can retry faster and not hit our, higher level, output timeout set by buildbot.

imo - we should have mozharness catch these timeouts so the logging is more explicit at then end instead of having the mh proc 'kill -9'ed

[1] http://mxr.mozilla.org/build/source/mozharness/mozharness/base/script.py#711
Blocks: 1143854
Assignee: jlund → nobody
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.