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

Side by Side Diff: appengine/findit/waterfall/try_job_util.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
« no previous file with comments | « appengine/findit/waterfall/trigger_base_swarming_task_pipeline.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 datetime import timedelta 5 from datetime import timedelta
6 import logging 6 import logging
7 7
8 from google.appengine.ext import ndb 8 from google.appengine.ext import ndb
9 9
10 from common.waterfall import failure_type 10 from common.waterfall import failure_type
11 from lib import time_util 11 from libs import time_util
12 from model import analysis_status 12 from model import analysis_status
13 from model.wf_analysis import WfAnalysis 13 from model.wf_analysis import WfAnalysis
14 from model.wf_build import WfBuild 14 from model.wf_build import WfBuild
15 from model.wf_failure_group import WfFailureGroup 15 from model.wf_failure_group import WfFailureGroup
16 from model.wf_try_job import WfTryJob 16 from model.wf_try_job import WfTryJob
17 from waterfall import build_util 17 from waterfall import build_util
18 from waterfall import waterfall_config 18 from waterfall import waterfall_config
19 19
20 20
21 def _ShouldBailOutForOutdatedBuild(build): 21 def _ShouldBailOutForOutdatedBuild(build):
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 master_name, builder_name) 362 master_name, builder_name)
363 for source_target in signals['compile'].get('failed_targets', []): 363 for source_target in signals['compile'].get('failed_targets', []):
364 # For link failures, we pass the executable targets directly to try-job, and 364 # For link failures, we pass the executable targets directly to try-job, and
365 # there is no 'source' for link failures. 365 # there is no 'source' for link failures.
366 # For compile failures, only pass the object files as the compile targets 366 # For compile failures, only pass the object files as the compile targets
367 # for the bots that we use strict regex to extract such information. 367 # for the bots that we use strict regex to extract such information.
368 if not source_target.get('source') or strict_regex: 368 if not source_target.get('source') or strict_regex:
369 compile_targets.append(source_target.get('target')) 369 compile_targets.append(source_target.get('target'))
370 370
371 return compile_targets 371 return compile_targets
OLDNEW
« no previous file with comments | « appengine/findit/waterfall/trigger_base_swarming_task_pipeline.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698