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

Side by Side Diff: appengine/findit/waterfall/flake/initialize_flake_pipeline.py

Issue 2538373003: [Culprit-Finder] Merge lib/ to libs/. (Closed)
Patch Set: . Created 4 years 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 import logging 5 import logging
6 6
7 from common import appengine_util 7 from common import appengine_util
8 from common import constants 8 from common import constants
9 from lib import time_util 9 from libs import time_util
10 from model import analysis_status 10 from model import analysis_status
11 from model.flake.master_flake_analysis import MasterFlakeAnalysis 11 from model.flake.master_flake_analysis import MasterFlakeAnalysis
12 from waterfall import waterfall_config 12 from waterfall import waterfall_config
13 from waterfall.flake import triggering_sources 13 from waterfall.flake import triggering_sources
14 from waterfall.flake.recursive_flake_pipeline import RecursiveFlakePipeline 14 from waterfall.flake.recursive_flake_pipeline import RecursiveFlakePipeline
15 15
16 16
17 def _NeedANewAnalysis( 17 def _NeedANewAnalysis(
18 normalized_test, original_test, algorithm_parameters, 18 normalized_test, original_test, algorithm_parameters,
19 bug_id=None, allow_new_analysis=False, force=False, 19 bug_id=None, allow_new_analysis=False, force=False,
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 normalized_test.test_name, analysis.version_number, 150 normalized_test.test_name, analysis.version_number,
151 master_build_number=normalized_test.build_number, 151 master_build_number=normalized_test.build_number,
152 flakiness_algorithm_results_dict=flakiness_algorithm_results_dict, 152 flakiness_algorithm_results_dict=flakiness_algorithm_results_dict,
153 manually_triggered=manually_triggered, 153 manually_triggered=manually_triggered,
154 use_nearby_neighbor=use_nearby_neighbor) 154 use_nearby_neighbor=use_nearby_neighbor)
155 pipeline_job.target = appengine_util.GetTargetNameForModule( 155 pipeline_job.target = appengine_util.GetTargetNameForModule(
156 constants.WATERFALL_BACKEND) 156 constants.WATERFALL_BACKEND)
157 pipeline_job.StartOffPSTPeakHours(queue_name=queue_name) 157 pipeline_job.StartOffPSTPeakHours(queue_name=queue_name)
158 158
159 return analysis 159 return analysis
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698