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

Issue 2435983003: [Findit] Asynchronously process flake reports from chromium-try-flakes. (Closed)

Created:
4 years, 2 months ago by stgao
Modified:
4 years, 2 months ago
Reviewers:
chanli, lijeffrey
CC:
chromium-reviews, infra-reviews+infra_chromium.org, Sergiy Byelozyorov
Target Ref:
refs/heads/master
Project:
infra
Visibility:
Public.

Description

[Findit] Asynchronously process flake reports from chromium-try-flakes. Since a hacky solution was implemented to map a CQ trybot step to a Waterfall buildbot step, multiple http requests have to be sent to Swarming and Isolate Server to retrieve step metadata and test output. Such http requests could lead to long processing time for a single flake report, and cause timeout on chromium-try-flakes side. This CL is to put flake reports from chromium-try-flakes in a task queue, and then process them asynchronously. BUG=656138 Committed: https://chromium.googlesource.com/infra/infra/+/e9f14cc4676df7495e28f583d2bffe383159d267

Patch Set 1 #

Patch Set 2 : fix nit. #

Patch Set 3 : fix nit. #

Total comments: 5

Patch Set 4 : fix nit. #

Patch Set 5 : Rebase to resolve conflict #

Unified diffs Side-by-side diffs Delta from patch set Stats (+174 lines, -33 lines) Patch
M appengine/findit/common/constants.py View 1 2 chunks +5 lines, -1 line 0 comments Download
M appengine/findit/findit_api.py View 1 2 3 4 6 chunks +31 lines, -15 lines 0 comments Download
A appengine/findit/handlers/process_flake_analysis_request.py View 1 2 3 4 1 chunk +25 lines, -0 lines 0 comments Download
A appengine/findit/handlers/test/process_flake_analysis_request_test.py View 1 chunk +44 lines, -0 lines 0 comments Download
M appengine/findit/main.py View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M appengine/findit/queue.yaml View 1 chunk +8 lines, -0 lines 0 comments Download
M appengine/findit/test/findit_api_test.py View 1 2 3 5 chunks +47 lines, -11 lines 0 comments Download
M appengine/findit/waterfall-backend.yaml View 1 2 1 chunk +6 lines, -1 line 0 comments Download
M appengine/findit/waterfall/flake/flake_analysis_service.py View 1 2 3 4 2 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 19 (8 generated)
stgao
ptal
4 years, 2 months ago (2016-10-20 17:42:49 UTC) #2
chanli
https://codereview.chromium.org/2435983003/diff/40001/appengine/findit/test/findit_api_test.py File appengine/findit/test/findit_api_test.py (right): https://codereview.chromium.org/2435983003/diff/40001/appengine/findit/test/findit_api_test.py#newcode758 appengine/findit/test/findit_api_test.py:758: self.assertEqual(1, mocked_func.call_count) Sorry if this is a stupid question, ...
4 years, 2 months ago (2016-10-21 06:08:12 UTC) #4
stgao
https://codereview.chromium.org/2435983003/diff/40001/appengine/findit/test/findit_api_test.py File appengine/findit/test/findit_api_test.py (right): https://codereview.chromium.org/2435983003/diff/40001/appengine/findit/test/findit_api_test.py#newcode758 appengine/findit/test/findit_api_test.py:758: self.assertEqual(1, mocked_func.call_count) On 2016/10/21 06:08:12, chanli wrote: > Sorry ...
4 years, 2 months ago (2016-10-21 14:03:11 UTC) #5
stgao
https://codereview.chromium.org/2435983003/diff/40001/appengine/findit/test/findit_api_test.py File appengine/findit/test/findit_api_test.py (right): https://codereview.chromium.org/2435983003/diff/40001/appengine/findit/test/findit_api_test.py#newcode5 appengine/findit/test/findit_api_test.py:5: import datetime todo: remove
4 years, 2 months ago (2016-10-21 14:44:35 UTC) #6
lijeffrey
lgtm
4 years, 2 months ago (2016-10-21 15:31:22 UTC) #7
stgao
https://codereview.chromium.org/2435983003/diff/40001/appengine/findit/test/findit_api_test.py File appengine/findit/test/findit_api_test.py (right): https://codereview.chromium.org/2435983003/diff/40001/appengine/findit/test/findit_api_test.py#newcode5 appengine/findit/test/findit_api_test.py:5: import datetime On 2016/10/21 14:44:35, stgao wrote: > todo: ...
4 years, 2 months ago (2016-10-21 22:25:16 UTC) #8
chanli
On 2016/10/21 22:25:16, stgao wrote: > https://codereview.chromium.org/2435983003/diff/40001/appengine/findit/test/findit_api_test.py > File appengine/findit/test/findit_api_test.py (right): > > https://codereview.chromium.org/2435983003/diff/40001/appengine/findit/test/findit_api_test.py#newcode5 > ...
4 years, 2 months ago (2016-10-21 22:52:50 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2435983003/60001
4 years, 2 months ago (2016-10-21 22:53:32 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: Infra Linux Precise 32 Tester on luci.infra.try (JOB_FAILED, https://luci-milo.appspot.com/swarming/task/320244b443888b10) ...
4 years, 2 months ago (2016-10-21 22:56:02 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2435983003/80001
4 years, 2 months ago (2016-10-21 23:48:39 UTC) #17
commit-bot: I haz the power
4 years, 2 months ago (2016-10-22 00:03:29 UTC) #19
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/infra/infra/+/e9f14cc4676df7495e28f583d2bff...

Powered by Google App Engine
This is Rietveld 408576698