| Index: scripts/slave/recipe_modules/auto_bisect_staging/bisector.py
|
| diff --git a/scripts/slave/recipe_modules/auto_bisect_staging/bisector.py b/scripts/slave/recipe_modules/auto_bisect_staging/bisector.py
|
| index e04b708de0721f828ce9296e2982a5546b6d105f..d9f3fdd85b9ddb646fc251cda147c2428a59f962 100644
|
| --- a/scripts/slave/recipe_modules/auto_bisect_staging/bisector.py
|
| +++ b/scripts/slave/recipe_modules/auto_bisect_staging/bisector.py
|
| @@ -508,12 +508,17 @@ class Bisector(object):
|
| self._raise_low_confidence_error()
|
|
|
| def _raise_low_confidence_error(self):
|
| + if (not self.good_rev.debug_values or
|
| + not self.bad_rev.debug_values): # pragma: no cover
|
| + msg = 'No values were found while testing the reference range.'
|
| + self.surface_result('MISSING_METRIC')
|
| + else:
|
| + msg = 'Bisect failed to reproduce the regression with enough confidence.'
|
| + self.surface_result('LO_INIT_CONF')
|
| self.surface_result('REF_RANGE_FAIL')
|
| - self.surface_result('LO_INIT_CONF')
|
| self.failed = True
|
| self.failed_initial_confidence = True
|
| - raise bisect_exceptions.InconclusiveBisectException(
|
| - 'Bisect failed to reproduce the regression with enough confidence.')
|
| + raise bisect_exceptions.InconclusiveBisectException(msg)
|
|
|
| def get_exception(self):
|
| raise NotImplementedError() # pragma: no cover
|
|
|