mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
Bug 1580141 Stop raptor tests execution and fail with propper message if mozproxy has issues initiating and starting the proxy r=tarek
Differential Revision: https://phabricator.services.mozilla.com/D47781 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
bdf27fe3bd
commit
c063b76364
@ -98,7 +98,7 @@ def tooltool_download(manifest, run_local, raptor_dir):
|
||||
)
|
||||
if x is not None
|
||||
)
|
||||
|
||||
|
||||
command = [
|
||||
sys.executable,
|
||||
tooltool_path,
|
||||
@ -110,17 +110,17 @@ def tooltool_download(manifest, run_local, raptor_dir):
|
||||
_cache,
|
||||
]
|
||||
|
||||
proc = ProcessHandler(
|
||||
command, processOutputLine=outputHandler, storeOutput=False, cwd=raptor_dir
|
||||
)
|
||||
|
||||
proc.run()
|
||||
|
||||
try:
|
||||
proc = ProcessHandler(
|
||||
command, processOutputLine=outputHandler, storeOutput=False, cwd=raptor_dir
|
||||
)
|
||||
proc.run()
|
||||
proc.wait()
|
||||
except Exception:
|
||||
except Exception as e:
|
||||
LOG.critical("Error while downloading the hostutils from tooltool: {}".format(str(e)))
|
||||
if proc.poll() is None:
|
||||
proc.kill(signal.SIGTERM)
|
||||
raise
|
||||
|
||||
|
||||
def archive_type(path):
|
||||
|
Loading…
Reference in New Issue
Block a user