From 5c4a7c31b285df45d92faeca980d49671b8500a4 Mon Sep 17 00:00:00 2001 From: Phil Ringnalda Date: Wed, 29 Feb 2012 09:53:09 -0500 Subject: [PATCH] Bug 660480 - mark as RETRY for common tegra errors - r=coop --- process/factory.py | 3 ++- status/errors.py | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/process/factory.py b/process/factory.py index cc598c93..974f98ab 100644 --- a/process/factory.py +++ b/process/factory.py @@ -50,7 +50,7 @@ reload(release.paths) from buildbotcustom.status.errors import purge_error, global_errors, \ - upload_errors + upload_errors, tegra_errors from buildbotcustom.steps.base import ShellCommand, SetProperty, Mercurial, \ Trigger, RetryingShellCommand, RetryingSetProperty from buildbotcustom.steps.misc import TinderboxShellCommand, SendChangeStep, \ @@ -7063,6 +7063,7 @@ def addSetupSteps(self): command=['python', '/builds/sut_tools/cleanup.py', WithProperties("%(sut_ip)s"), ], + log_eval_func=lambda c,s: regex_log_evaluator(c, s, tegra_errors), haltOnFailure=True) ) self.addStep(ShellCommand( diff --git a/status/errors.py b/status/errors.py index 78a6f9d1..9d3e9235 100644 --- a/status/errors.py +++ b/status/errors.py @@ -25,3 +25,8 @@ (re.compile("Connection refused"), RETRY), (re.compile("Connection reset by peer"), RETRY), ) + +tegra_errors = ((re.compile("process killed by signal"), RETRY), + (re.compile("Remote Device Error"), RETRY), + (re.compile("devicemanager.DMError"), RETRY), + )