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

Issue 2535953003: [Findit] Add two more gtest command line switches. (Closed)

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

Description

[Findit] Add two more gtest command line switches. BUG=666115, 666110 R=chanli, lijeffrey Committed: https://chromium.googlesource.com/infra/infra/+/1cb10c5b2e7822c95567b66de85edf9805e401c2

Patch Set 1 #

Total comments: 6

Patch Set 2 : Update description of scenario. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -6 lines) Patch
M appengine/findit/waterfall/test/trigger_base_swarming_task_result_pipeline_test.py View 2 chunks +10 lines, -3 lines 0 comments Download
M appengine/findit/waterfall/trigger_base_swarming_task_pipeline.py View 1 1 chunk +20 lines, -3 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
stgao
ptal
4 years ago (2016-11-29 00:18:07 UTC) #1
chanli
LGTM with one question https://codereview.chromium.org/2535953003/diff/1/appengine/findit/waterfall/trigger_base_swarming_task_pipeline.py File appengine/findit/waterfall/trigger_base_swarming_task_pipeline.py (right): https://codereview.chromium.org/2535953003/diff/1/appengine/findit/waterfall/trigger_base_swarming_task_pipeline.py#newcode60 appengine/findit/waterfall/trigger_base_swarming_task_pipeline.py:60: new_request.extra_args.append('--gtest_also_run_disabled_tests') Question: for more general ...
4 years ago (2016-11-29 05:04:48 UTC) #2
lijeffrey
lgtm https://codereview.chromium.org/2535953003/diff/1/appengine/findit/waterfall/trigger_base_swarming_task_pipeline.py File appengine/findit/waterfall/trigger_base_swarming_task_pipeline.py (right): https://codereview.chromium.org/2535953003/diff/1/appengine/findit/waterfall/trigger_base_swarming_task_pipeline.py#newcode46 appengine/findit/waterfall/trigger_base_swarming_task_pipeline.py:46: not a.startswith('--gtest_filter') and So I'm not actually familiar ...
4 years ago (2016-11-29 05:51:31 UTC) #3
stgao
https://codereview.chromium.org/2535953003/diff/1/appengine/findit/waterfall/trigger_base_swarming_task_pipeline.py File appengine/findit/waterfall/trigger_base_swarming_task_pipeline.py (right): https://codereview.chromium.org/2535953003/diff/1/appengine/findit/waterfall/trigger_base_swarming_task_pipeline.py#newcode46 appengine/findit/waterfall/trigger_base_swarming_task_pipeline.py:46: not a.startswith('--gtest_filter') and On 2016/11/29 05:51:30, lijeffrey wrote: > ...
4 years ago (2016-11-29 07:38:53 UTC) #4
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/2535953003/20001
4 years ago (2016-11-29 07:39:06 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/infra/infra/+/1cb10c5b2e7822c95567b66de85edf9805e401c2
4 years ago (2016-11-29 07:54:06 UTC) #10
chanli
https://codereview.chromium.org/2535953003/diff/1/appengine/findit/waterfall/trigger_base_swarming_task_pipeline.py File appengine/findit/waterfall/trigger_base_swarming_task_pipeline.py (right): https://codereview.chromium.org/2535953003/diff/1/appengine/findit/waterfall/trigger_base_swarming_task_pipeline.py#newcode60 appengine/findit/waterfall/trigger_base_swarming_task_pipeline.py:60: new_request.extra_args.append('--gtest_also_run_disabled_tests') On 2016/11/29 07:38:53, stgao (slow on Monday) wrote: ...
4 years ago (2016-11-29 17:52:32 UTC) #11
stgao
4 years ago (2016-11-29 18:09:36 UTC) #12
Message was sent while issue was closed.
https://codereview.chromium.org/2535953003/diff/1/appengine/findit/waterfall/...
File appengine/findit/waterfall/trigger_base_swarming_task_pipeline.py (right):

https://codereview.chromium.org/2535953003/diff/1/appengine/findit/waterfall/...
appengine/findit/waterfall/trigger_base_swarming_task_pipeline.py:60:
new_request.extra_args.append('--gtest_also_run_disabled_tests')
On 2016/11/29 17:52:32, chanli wrote:
> On 2016/11/29 07:38:53, stgao (slow on Monday) wrote:
> > On 2016/11/29 05:04:48, chanli wrote:
> > > Question: for more general cases, shouldn't we stop the swarming task when
> we
> > > found the test has been disabled?
> > 
> > Two questions before I could answer your question :)
> > And I updated the description a little bit to make it more clear.
> > 
> > 1. Is it possible to distinguish the cases you referred to from the cases
> > described here (the test got disabled before Findit runs any analysis)?
> > 2. Why we should stop the swarming task? Is it just a skip of rerun at the
> > selected build? Will the analysis continue to run or just stop?
> 
> IIUC, we don't treat disabling a flaky test as a solution to flakiness, right?
> If that's correct, I don't have further questions.

No, disabling is just a temporary workaround.

Powered by Google App Engine
This is Rietveld 408576698