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

Side by Side Diff: appengine/findit/waterfall/process_swarming_task_result_pipeline.py

Issue 2491473002: [Findit] Implementing swarming task error detection (Closed)
Patch Set: Rebase Created 4 years, 1 month 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 unified diff | Download patch
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 from model.wf_swarming_task import WfSwarmingTask 5 from model.wf_swarming_task import WfSwarmingTask
6 from waterfall.process_base_swarming_task_result_pipeline import ( 6 from waterfall.process_base_swarming_task_result_pipeline import (
7 ProcessBaseSwarmingTaskResultPipeline) 7 ProcessBaseSwarmingTaskResultPipeline)
8 8
9 9
10 class ProcessSwarmingTaskResultPipeline(ProcessBaseSwarmingTaskResultPipeline): 10 class ProcessSwarmingTaskResultPipeline(ProcessBaseSwarmingTaskResultPipeline):
(...skipping 26 matching lines...) Expand all
37 step_name (str): The failed test step name. 37 step_name (str): The failed test step name.
38 38
39 Returns: 39 Returns:
40 A dict of lists for reliable/flaky tests. 40 A dict of lists for reliable/flaky tests.
41 """ 41 """
42 call_args = self._GetArgs( 42 call_args = self._GetArgs(
43 master_name, builder_name, build_number, step_name) 43 master_name, builder_name, build_number, step_name)
44 task = self._GetSwarmingTask(*call_args) 44 task = self._GetSwarmingTask(*call_args)
45 task_id = task.task_id 45 task_id = task.task_id
46 step_name_no_platform = self._MonitorSwarmingTask(task_id, *call_args) 46 step_name_no_platform = self._MonitorSwarmingTask(task_id, *call_args)
47
48 return step_name, (step_name_no_platform, task.reliable_tests) 47 return step_name, (step_name_no_platform, task.reliable_tests)
OLDNEW
« no previous file with comments | « appengine/findit/waterfall/process_flake_swarming_task_result_pipeline.py ('k') | appengine/findit/waterfall/swarming_util.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698