| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 collections | 5 import collections |
| 6 from datetime import datetime | 6 from datetime import datetime |
| 7 import logging | 7 import logging |
| 8 import random | 8 import random |
| 9 import time | 9 import time |
| 10 | 10 |
| 11 from google.appengine.api import memcache | 11 from google.appengine.api import memcache |
| 12 | 12 |
| 13 from pipeline_utils.appengine_third_party_pipeline_src_pipeline import pipeline | 13 from pipeline_utils.appengine_third_party_pipeline_python_src_pipeline \ |
| 14 import pipeline |
| 14 | 15 |
| 15 from common.http_client_appengine import HttpClientAppengine as HttpClient | 16 from common.http_client_appengine import HttpClientAppengine as HttpClient |
| 16 from model.wf_build import WfBuild | 17 from model.wf_build import WfBuild |
| 17 from model.wf_analysis import WfAnalysis | 18 from model.wf_analysis import WfAnalysis |
| 18 from waterfall import buildbot | 19 from waterfall import buildbot |
| 19 from waterfall.base_pipeline import BasePipeline | 20 from waterfall.base_pipeline import BasePipeline |
| 20 from waterfall import lock_util | 21 from waterfall import lock_util |
| 21 | 22 |
| 22 | 23 |
| 23 _MAX_BUILDS_TO_CHECK = 20 | 24 _MAX_BUILDS_TO_CHECK = 20 |
| (...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 self._SaveBlamelistAndChromiumRevisionIntoDict(build_info, builds) | 256 self._SaveBlamelistAndChromiumRevisionIntoDict(build_info, builds) |
| 256 | 257 |
| 257 failed_steps = self._CreateADictOfFailedSteps(build_info) | 258 failed_steps = self._CreateADictOfFailedSteps(build_info) |
| 258 | 259 |
| 259 self._CheckForFirstKnownFailure( | 260 self._CheckForFirstKnownFailure( |
| 260 master_name, builder_name, build_number, failed_steps, builds) | 261 master_name, builder_name, build_number, failed_steps, builds) |
| 261 | 262 |
| 262 failure_info['builds'] = builds | 263 failure_info['builds'] = builds |
| 263 failure_info['failed_steps'] = failed_steps | 264 failure_info['failed_steps'] = failed_steps |
| 264 return failure_info | 265 return failure_info |
| OLD | NEW |