Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(122)

Unified Diff: scripts/slave/recipes/bisection/desktop_bisect.py

Issue 1573293002: Change auto_bisect to post results to perf dashboard. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: . Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: scripts/slave/recipes/bisection/desktop_bisect.py
diff --git a/scripts/slave/recipes/bisection/desktop_bisect.py b/scripts/slave/recipes/bisection/desktop_bisect.py
index 464aa177c4e83d147fce6e8b9b3af388b97a8ee2..43f5f80f049e56623a16c387398b427caacdbfe2 100644
--- a/scripts/slave/recipes/bisection/desktop_bisect.py
+++ b/scripts/slave/recipes/bisection/desktop_bisect.py
@@ -74,7 +74,9 @@ results-without_patch
api.step_data('Performance Test (Without Patch) 1 of 1',
stdout=api.raw_io.output(str(results_without_patch))) +
api.step_data('Performance Test (With Patch) 1 of 1',
- stdout=api.raw_io.output(str(results_with_patch))))
+ stdout=api.raw_io.output(str(results_with_patch))) +
+ api.step_data('Post bisect results',
+ stdout=api.json.output({'status_code': 200})))
config_json.update({'metric': 'dummy/dummy'})
@@ -87,7 +89,10 @@ results-without_patch
api.step_data('Performance Test (Without Patch) 1 of 1',
stdout=api.raw_io.output(results_without_patch)) +
api.step_data('Performance Test (With Patch) 1 of 1',
- stdout=api.raw_io.output(results_with_patch)))
+ stdout=api.raw_io.output(results_with_patch)) +
+ api.step_data('Post bisect results',
+ stdout=api.json.output({'status_code': 200})))
+
yield (api.test('perf_tryjob_failed_test') + api.properties.tryserver(
mastername='tryserver.chromium.perf',
@@ -117,7 +122,9 @@ results-without_patch
'Performance Test (d49c331def2a3bbf3ddd0096eb51551155) 1 of 1',
stdout=api.raw_io.output(results_without_patch)) + api.step_data(
'Performance Test (bad49c331def2a3bbf3ddd0096eb51551155) 1 of 1',
- stdout=api.raw_io.output(results_with_patch)))
+ stdout=api.raw_io.output(results_with_patch)) +
+ api.step_data('Post bisect results',
+ stdout=api.json.output({'status_code': 200})))
config_json = {
'max_time_minutes': '25',

Powered by Google App Engine
This is Rietveld 408576698