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

Issue 1827903002: [Findit] Modify handlers_util to prepare for the new UI change. (Closed)

Created:
4 years, 9 months ago by chanli
Modified:
4 years, 8 months ago
Reviewers:
stgao, lijeffrey
CC:
chromium-reviews, infra-reviews+infra_chromium.org
Base URL:
https://chromium.googlesource.com/infra/infra.git@master
Target Ref:
refs/heads/master
Project:
infra
Visibility:
Public.

Description

[Findit] Modify handlers_util to prepare for the new UI change. Basically new changes will group swarming task data and try job data by step_name first, then the culprits. BUG=598507 Committed: https://chromium.googlesource.com/infra/infra/+/7169a9d4560901db9d18df4037f9996f5ad2c03e

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : Add flaky info to try job result. #

Total comments: 14

Patch Set 4 : Address comments. #

Patch Set 5 : Always include tests in try job information. #

Patch Set 6 : . #

Patch Set 7 : Modify data format for compile failure #

Total comments: 28

Patch Set 8 : Address comments. #

Patch Set 9 : Add module for additional result status. #

Patch Set 10 : . #

Total comments: 6

Patch Set 11 : Fix bug when display builds that don't have failure-result-map #

Total comments: 14

Patch Set 12 : address comments. #

Total comments: 2

Patch Set 13 : address comments #

Total comments: 3

Patch Set 14 : remove possible flaky tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1077 lines, -596 lines) Patch
M appengine/findit/handlers/handlers_util.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +368 lines, -191 lines 0 comments Download
A appengine/findit/handlers/result_status.py View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +40 lines, -0 lines 0 comments Download
M appengine/findit/handlers/swarming_task.py View 1 1 chunk +1 line, -1 line 0 comments Download
M appengine/findit/handlers/test/handlers_util_test.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 11 chunks +668 lines, -404 lines 0 comments Download

Messages

Total messages: 44 (12 generated)
chanli
PTAL
4 years, 9 months ago (2016-03-23 17:25:17 UTC) #2
chanli
On 2016/03/23 17:25:17, chanli wrote: > PTAL I think I need to re-organize a little ...
4 years, 9 months ago (2016-03-23 18:22:36 UTC) #3
chanli
PTAL
4 years, 9 months ago (2016-03-23 19:54:08 UTC) #4
chanli
4 years, 9 months ago (2016-03-23 21:04:52 UTC) #5
stgao
Posted some comments as of now, will review more closely later today. Do you mind ...
4 years, 9 months ago (2016-03-24 17:59:48 UTC) #6
chromium-reviews
Yes, that's my plan. On Thu, Mar 24, 2016 at 10:59 AM, <stgao@chromium.org> wrote: > ...
4 years, 9 months ago (2016-03-24 18:00:30 UTC) #7
stgao
On 2016/03/24 18:00:30, chromium-reviews wrote: > Yes, that's my plan. > > On Thu, Mar ...
4 years, 9 months ago (2016-03-24 18:12:02 UTC) #8
chanli
Comments addressed. I am still working on the part that will use this change. I ...
4 years, 9 months ago (2016-03-24 19:53:02 UTC) #9
chanli
4 years, 9 months ago (2016-03-24 22:01:37 UTC) #10
chanli
4 years, 9 months ago (2016-03-24 23:41:05 UTC) #11
chanli
4 years, 9 months ago (2016-03-25 18:26:29 UTC) #12
stgao
https://codereview.chromium.org/1827903002/diff/120001/appengine/findit/handlers/handlers_util.py File appengine/findit/handlers/handlers_util.py (right): https://codereview.chromium.org/1827903002/diff/120001/appengine/findit/handlers/handlers_util.py#newcode16 appengine/findit/handlers/handlers_util.py:16: FLAKY = 200 How about creating a message module ...
4 years, 9 months ago (2016-03-25 22:50:24 UTC) #13
chanli
https://codereview.chromium.org/1827903002/diff/120001/appengine/findit/handlers/handlers_util.py File appengine/findit/handlers/handlers_util.py (right): https://codereview.chromium.org/1827903002/diff/120001/appengine/findit/handlers/handlers_util.py#newcode16 appengine/findit/handlers/handlers_util.py:16: FLAKY = 200 On 2016/03/25 22:50:23, stgao wrote: > ...
4 years, 9 months ago (2016-03-25 23:22:04 UTC) #14
chanli
4 years, 9 months ago (2016-03-26 00:38:50 UTC) #15
chanli
4 years, 8 months ago (2016-03-28 21:19:58 UTC) #16
stgao
Will give more comments after reviewing the depending CLs. https://codereview.chromium.org/1827903002/diff/180001/appengine/findit/handlers/handlers_util.py File appengine/findit/handlers/handlers_util.py (right): https://codereview.chromium.org/1827903002/diff/180001/appengine/findit/handlers/handlers_util.py#newcode117 appengine/findit/handlers/handlers_util.py:117: ...
4 years, 8 months ago (2016-03-28 22:27:22 UTC) #17
lijeffrey
Just some basic comments for now, will review the other CL https://codereview.chromium.org/1827903002/diff/40001/appengine/findit/handlers/handlers_util.py File appengine/findit/handlers/handlers_util.py (right): ...
4 years, 8 months ago (2016-03-28 23:35:04 UTC) #18
stgao
https://codereview.chromium.org/1827903002/diff/220001/appengine/findit/handlers/result_status.py File appengine/findit/handlers/result_status.py (right): https://codereview.chromium.org/1827903002/diff/220001/appengine/findit/handlers/result_status.py#newcode31 appengine/findit/handlers/result_status.py:31: NO_SWARMING_TASK_FOUND: 'No swarming task found, hence no try job.', ...
4 years, 8 months ago (2016-03-28 23:40:04 UTC) #19
chanli
https://codereview.chromium.org/1827903002/diff/180001/appengine/findit/handlers/handlers_util.py File appengine/findit/handlers/handlers_util.py (right): https://codereview.chromium.org/1827903002/diff/180001/appengine/findit/handlers/handlers_util.py#newcode117 appengine/findit/handlers/handlers_util.py:117: if task.classified_tests: # Swarming rerun has result. On 2016/03/28 ...
4 years, 8 months ago (2016-03-29 01:35:47 UTC) #20
chanli
4 years, 8 months ago (2016-03-29 01:46:38 UTC) #23
stgao
lgtm https://codereview.chromium.org/1827903002/diff/260001/appengine/findit/handlers/handlers_util.py File appengine/findit/handlers/handlers_util.py (right): https://codereview.chromium.org/1827903002/diff/260001/appengine/findit/handlers/handlers_util.py#newcode350 appengine/findit/handlers/handlers_util.py:350: try_job_keys.update(step_try_job_keys) Just double check: should this be outside ...
4 years, 8 months ago (2016-03-29 06:22:45 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1827903002/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1827903002/260001
4 years, 8 months ago (2016-03-29 06:22:55 UTC) #26
chanli
https://codereview.chromium.org/1827903002/diff/260001/appengine/findit/handlers/handlers_util.py File appengine/findit/handlers/handlers_util.py (right): https://codereview.chromium.org/1827903002/diff/260001/appengine/findit/handlers/handlers_util.py#newcode350 appengine/findit/handlers/handlers_util.py:350: try_job_keys.update(step_try_job_keys) On 2016/03/29 06:22:44, stgao wrote: > Just double ...
4 years, 8 months ago (2016-03-29 06:28:00 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: Infra Mac Tester on tryserver.infra (JOB_FAILED, https://build.chromium.org/p/tryserver.infra/builders/Infra%20Mac%20Tester/builds/1374)
4 years, 8 months ago (2016-03-29 06:29:25 UTC) #29
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1827903002/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1827903002/260001
4 years, 8 months ago (2016-03-29 06:40:13 UTC) #31
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Infra Mac Tester on tryserver.infra (JOB_FAILED, https://build.chromium.org/p/tryserver.infra/builders/Infra%20Mac%20Tester/builds/1376)
4 years, 8 months ago (2016-03-29 07:10:11 UTC) #33
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1827903002/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1827903002/280001
4 years, 8 months ago (2016-04-01 09:54:38 UTC) #35
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-01 09:57:49 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1827903002/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1827903002/280001
4 years, 8 months ago (2016-04-01 09:58:38 UTC) #40
commit-bot: I haz the power
Committed patchset #14 (id:280001) as https://chromium.googlesource.com/infra/infra/+/7169a9d4560901db9d18df4037f9996f5ad2c03e
4 years, 8 months ago (2016-04-01 10:00:40 UTC) #42
stgao
A side note: we'd better revisit the flaky tests you deleted later when you are ...
4 years, 8 months ago (2016-04-01 17:51:48 UTC) #43
stgao
4 years, 8 months ago (2016-04-07 00:30:04 UTC) #44
Message was sent while issue was closed.
https://codereview.chromium.org/1827903002/diff/260001/appengine/findit/handl...
File appengine/findit/handlers/handlers_util.py (right):

https://codereview.chromium.org/1827903002/diff/260001/appengine/findit/handl...
appengine/findit/handlers/handlers_util.py:350:
try_job_keys.update(step_try_job_keys)
On 2016/03/29 06:27:59, chanli wrote:
> On 2016/03/29 06:22:44, stgao wrote:
> > Just double check: should this be outside the for loop?
> 
> Yes, logically it should be outside of this for loop. Although it should not
> affect the result, please help me fix it.

Fixed in https://codereview.chromium.org/1866883002.

Powered by Google App Engine
This is Rietveld 408576698