aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2017-12-13 15:05:35 -0800
committerGravatar David Garcia Quintas <dgq@google.com>2017-12-13 15:05:35 -0800
commit11053bc665e6cbf83ba6302a73b3857aecbb3ba4 (patch)
tree82392fd021803fa40b10b8025d929fa300598cb7 /tools
parent6fb5ac4068b9f9f451c0364b810a303b0d79d881 (diff)
PR comments
Diffstat (limited to 'tools')
-rw-r--r--tools/failures/detect_new_failures.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/failures/detect_new_failures.py b/tools/failures/detect_new_failures.py
index 9434bae34f..2f54e4b8a8 100644
--- a/tools/failures/detect_new_failures.py
+++ b/tools/failures/detect_new_failures.py
@@ -81,6 +81,9 @@ def build_kokoro_url(job_name, build_id):
def create_issues(new_flakes, always_create):
for test_name, results_row in new_flakes.items():
poll_strategy, job_name, build_id, timestamp = results_row
+ # TODO(dgq): the Kokoro URL has a limited lifetime. The permanent and ideal
+ # URL would be the sponge one, but there's currently no easy way to retrieve
+ # it.
url = build_kokoro_url(job_name, build_id)
title = 'New Failure: ' + test_name
body = '- Test: {}\n- Poll Strategy: {}\n- URL: {}'.format(