Exemplo n.º 1
0
 def failure_map(self):
     failure_map = FailureMap()
     for builder_status in self.builder_statuses():
         if builder_status["is_green"]:
             continue
         builder = self.builder_with_name(builder_status["name"])
         regression_window = builder.find_blameworthy_regression_window(builder_status["build_number"])
         if regression_window:
             failure_map.add_regression_window(builder, regression_window)
     return failure_map
 def failure_map(self):
     failure_map = FailureMap()
     revision_to_failing_bots = {}
     for builder_status in self.builder_statuses():
         if builder_status["is_green"]:
             continue
         builder = self.builder_with_name(builder_status["name"])
         regression_window = builder.find_blameworthy_regression_window(builder_status["build_number"])
         if regression_window:
             failure_map.add_regression_window(builder, regression_window)
     return failure_map
Exemplo n.º 3
0
 def failure_map(self, only_core_builders=True):
     builder_statuses = self.core_builder_statuses() if only_core_builders else self.builder_statuses()
     failure_map = FailureMap()
     revision_to_failing_bots = {}
     for builder_status in builder_statuses:
         if builder_status["is_green"]:
             continue
         builder = self.builder_with_name(builder_status["name"])
         regression_window = builder.find_blameworthy_regression_window(builder_status["build_number"])
         if regression_window:
             failure_map.add_regression_window(builder, regression_window)
     return failure_map