Commit 2acd2f9d authored by Michael Achenbach's avatar Michael Achenbach Committed by V8 LUCI CQ

[test] Add more logging to results-processing loop.

Bug: v8:13113
Change-Id: Ie42a654378660e4a2dc45d53d40683281e7343dd
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3879496Reviewed-by: 's avatarAlexander Schulze <alexschulze@chromium.org>
Commit-Queue: Michael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83062}
parent a5b3c3df
......@@ -232,6 +232,7 @@ class DefaultExecutionPool(ContextPool):
except:
# TODO(machenbach): Handle a few known types of internal errors
# gracefully, e.g. missing test files.
logging.exception('Internal error in a worker process.')
internal_error = True
continue
finally:
......@@ -251,7 +252,7 @@ class DefaultExecutionPool(ContextPool):
self._terminate()
if internal_error:
raise Exception("Internal error in a worker process.")
raise Exception('Internal error in a worker process.')
def _advance_more(self, gen):
while self.processing_count < self.num_workers * self.BUFFER_FACTOR:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment