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

Issue 1566013002: Add support for bisect bots to post results to dashboard. (Closed)

Created:
4 years, 11 months ago by chrisphan
Modified:
4 years, 10 months ago
Reviewers:
prasadv, qyearsley
CC:
catapult-reviews_chromium.org, perf-dashboard-reviews_chromium.org
Base URL:
https://github.com/catapult-project/catapult.git@master
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

Add support for bisect bots to post results to dashboard. High level changes: update_bug_with_results.py - Removed the need to query rietveld, buildbucket, and buildbots. This will make it simpler. We want to get all the necessary results in one place which is from the bots. - Removed tracking infra failure. Current method is not very reliable. - TryJobs now do not get removed. post_bisect_results.py - To make it simple, we verify the data, and save it directly to a datastore JSONProperty. bisect_report.py - This is where we create report base on TryJob states, whether they failed, staled, or completed. try_job.py - Added 'results_data' which is data directly from bisect bots. - Added a 'staled' state. BUG=catapult:#1869 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/4e0a366a9842da32ef20e8af466e5d0d7519d5e1

Patch Set 1 #

Total comments: 29

Patch Set 2 : addressed comments #

Total comments: 34

Patch Set 3 : address comments #

Total comments: 8

Patch Set 4 : rebase #

Total comments: 5

Patch Set 5 : address comments #

Patch Set 6 : check confidence to cc author #

Total comments: 1

Patch Set 7 : rebase #

Patch Set 8 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+913 lines, -1875 lines) Patch
M dashboard/dashboard/bisect_fyi.py View 1 2 3 4 4 chunks +27 lines, -39 lines 0 comments Download
M dashboard/dashboard/bisect_fyi_test.py View 1 2 3 4 2 chunks +3 lines, -6 lines 0 comments Download
A dashboard/dashboard/bisect_report.py View 1 2 3 1 chunk +143 lines, -0 lines 0 comments Download
A dashboard/dashboard/bisect_report_test.py View 1 2 3 1 chunk +197 lines, -0 lines 0 comments Download
M dashboard/dashboard/bisect_stats.py View 1 1 chunk +3 lines, -1 line 0 comments Download
M dashboard/dashboard/dispatcher.py View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M dashboard/dashboard/email_template.py View 6 chunks +45 lines, -43 lines 0 comments Download
M dashboard/dashboard/models/try_job.py View 1 3 chunks +14 lines, -2 lines 0 comments Download
A dashboard/dashboard/post_bisect_results.py View 1 2 3 1 chunk +111 lines, -0 lines 0 comments Download
A dashboard/dashboard/post_bisect_results_test.py View 1 2 3 1 chunk +98 lines, -0 lines 0 comments Download
M dashboard/dashboard/update_bug_with_results.py View 1 2 3 4 5 12 chunks +95 lines, -682 lines 0 comments Download
M dashboard/dashboard/update_bug_with_results_test.py View 1 2 3 11 chunks +144 lines, -1102 lines 0 comments Download
M dashboard/dashboard/utils.py View 1 2 3 2 chunks +31 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (6 generated)
chrisphan
In the work is adding doc and tests. https://codereview.chromium.org/1566013002/diff/1/dashboard/dashboard/update_bug_with_results_test.py File dashboard/dashboard/update_bug_with_results_test.py (right): https://codereview.chromium.org/1566013002/diff/1/dashboard/dashboard/update_bug_with_results_test.py#newcode1 dashboard/dashboard/update_bug_with_results_test.py:1: # ...
4 years, 11 months ago (2016-01-06 23:28:10 UTC) #2
chrisphan
https://codereview.chromium.org/1566013002/diff/1/dashboard/dashboard/email_template.py File dashboard/dashboard/email_template.py (right): https://codereview.chromium.org/1566013002/diff/1/dashboard/dashboard/email_template.py#newcode77 dashboard/dashboard/email_template.py:77: _PERF_TRY_EMAIL_TEXT_BODY = """ Pradsad, do you think all these ...
4 years, 11 months ago (2016-01-06 23:33:40 UTC) #3
qyearsley
https://codereview.chromium.org/1566013002/diff/1/dashboard/dashboard/bisect_report.py File dashboard/dashboard/bisect_report.py (right): https://codereview.chromium.org/1566013002/diff/1/dashboard/dashboard/bisect_report.py#newcode5 dashboard/dashboard/bisect_report.py:5: """URL endpoint for a cron job to update bugs ...
4 years, 11 months ago (2016-01-11 22:16:45 UTC) #6
chrisphan
Updated tests for: bisect_report_test.py update_bug_with_results_test.py https://chromiumcodereview-hr.appspot.com/1566013002/diff/1/dashboard/dashboard/bisect_report.py File dashboard/dashboard/bisect_report.py (right): https://chromiumcodereview-hr.appspot.com/1566013002/diff/1/dashboard/dashboard/bisect_report.py#newcode5 dashboard/dashboard/bisect_report.py:5: """URL endpoint for a ...
4 years, 11 months ago (2016-01-13 00:32:54 UTC) #7
chrisphan
https://chromiumcodereview-hr.appspot.com/1566013002/diff/1/dashboard/dashboard/post_bisect_results.py File dashboard/dashboard/post_bisect_results.py (right): https://chromiumcodereview-hr.appspot.com/1566013002/diff/1/dashboard/dashboard/post_bisect_results.py#newcode40 dashboard/dashboard/post_bisect_results.py:40: """Validates data parameter and save to TryJob entity. On ...
4 years, 11 months ago (2016-01-13 00:35:35 UTC) #8
qyearsley
Really happy with this change, especially because it simplifies update_bug_with_results.py. Prasad should review email_template.py and ...
4 years, 11 months ago (2016-01-18 21:10:25 UTC) #9
chrisphan
https://chromiumcodereview-hr.appspot.com/1566013002/diff/20001/dashboard/dashboard/bisect_report.py File dashboard/dashboard/bisect_report.py (right): https://chromiumcodereview-hr.appspot.com/1566013002/diff/20001/dashboard/dashboard/bisect_report.py#newcode9 dashboard/dashboard/bisect_report.py:9: _CONFIDENCE_THRESHOLD = 99.5 On 2016/01/18 21:10:24, qyearsley wrote: > ...
4 years, 11 months ago (2016-01-20 21:47:19 UTC) #10
qyearsley
https://codereview.chromium.org/1566013002/diff/1/dashboard/dashboard/bisect_report_test.py File dashboard/dashboard/bisect_report_test.py (right): https://codereview.chromium.org/1566013002/diff/1/dashboard/dashboard/bisect_report_test.py#newcode159 dashboard/dashboard/bisect_report_test.py:159: pass On 2016/01/13 00:32:54, chrisphan wrote: > On 2016/01/11 ...
4 years, 11 months ago (2016-01-26 18:43:27 UTC) #11
chrisphan
Rebased. https://codereview.chromium.org/1566013002/diff/40001/dashboard/dashboard/bisect_report_test.py File dashboard/dashboard/bisect_report_test.py (right): https://codereview.chromium.org/1566013002/diff/40001/dashboard/dashboard/bisect_report_test.py#newcode47 dashboard/dashboard/bisect_report_test.py:47: 'result': 'good' On 2016/01/26 18:43:27, qyearsley wrote: > ...
4 years, 10 months ago (2016-02-09 20:34:40 UTC) #12
prasadv
https://codereview.chromium.org/1566013002/diff/60001/dashboard/dashboard/bisect_fyi.py File dashboard/dashboard/bisect_fyi.py (right): https://codereview.chromium.org/1566013002/diff/60001/dashboard/dashboard/bisect_fyi.py#newcode128 dashboard/dashboard/bisect_fyi.py:128: expected = set(config.keys()) Here we actually want to compare ...
4 years, 10 months ago (2016-02-09 21:09:41 UTC) #13
chrisphan
https://chromiumcodereview-hr.appspot.com/1566013002/diff/60001/dashboard/dashboard/bisect_fyi.py File dashboard/dashboard/bisect_fyi.py (right): https://chromiumcodereview-hr.appspot.com/1566013002/diff/60001/dashboard/dashboard/bisect_fyi.py#newcode128 dashboard/dashboard/bisect_fyi.py:128: expected = set(config.keys()) On 2016/02/09 21:09:41, prasadv wrote: > ...
4 years, 10 months ago (2016-02-09 22:10:40 UTC) #14
chrisphan
https://chromiumcodereview-hr.appspot.com/1566013002/diff/100001/dashboard/dashboard/update_bug_with_results.py File dashboard/dashboard/update_bug_with_results.py (right): https://chromiumcodereview-hr.appspot.com/1566013002/diff/100001/dashboard/dashboard/update_bug_with_results.py#newcode260 dashboard/dashboard/update_bug_with_results.py:260: if results_data.get('score') < _CONFIDENCE_LEVEL_TO_CC_AUTHOR: Check confidence level before ccing ...
4 years, 10 months ago (2016-02-09 23:42:36 UTC) #15
chrisphan
On 2016/02/09 23:42:36, chrisphan wrote: > https://chromiumcodereview-hr.appspot.com/1566013002/diff/100001/dashboard/dashboard/update_bug_with_results.py > File dashboard/dashboard/update_bug_with_results.py (right): > > https://chromiumcodereview-hr.appspot.com/1566013002/diff/100001/dashboard/dashboard/update_bug_with_results.py#newcode260 > ...
4 years, 10 months ago (2016-02-16 19:13:36 UTC) #16
qyearsley
On 2016/02/16 19:13:36, chrisphan wrote: > On 2016/02/09 23:42:36, chrisphan wrote: > > > https://chromiumcodereview-hr.appspot.com/1566013002/diff/100001/dashboard/dashboard/update_bug_with_results.py ...
4 years, 10 months ago (2016-02-18 00:45:45 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1566013002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1566013002/140001
4 years, 10 months ago (2016-02-18 19:13:48 UTC) #20
commit-bot: I haz the power
4 years, 10 months ago (2016-02-18 19:24:43 UTC) #22
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/external/github.com/catapult-project/catapu...

Powered by Google App Engine
This is Rietveld 408576698