Skip to content
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.

Commit

Permalink
Bug 660480 - mark as RETRY for common tegra errors - r=coop
Browse files Browse the repository at this point in the history
  • Loading branch information
philor committed Feb 29, 2012
1 parent b17b9cd commit 5c4a7c3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion process/factory.py
Expand Up @@ -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, \
Expand Down Expand Up @@ -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(
Expand Down
5 changes: 5 additions & 0 deletions status/errors.py
Expand Up @@ -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),
)

0 comments on commit 5c4a7c3

Please sign in to comment.