From a333e3ebeed4ff91d4dcd2e9e34772235946b709 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Thu, 19 May 2016 10:22:23 -0600 Subject: [PATCH] Add SkipJob Signed-off-by: Zack Cerza --- teuthology/exceptions.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/teuthology/exceptions.py b/teuthology/exceptions.py index 1d18a28608..c12700d92f 100644 --- a/teuthology/exceptions.py +++ b/teuthology/exceptions.py @@ -139,9 +139,18 @@ class SELinuxError(Exception): return "SELinux denials found on {node}: {denials}".format( node=self.node, denials=self.denials) + class QuotaExceededError(Exception): def __init__(self, message): self.message = message def __str__(self): return self.message + + +class SkipJob(Exception): + """ + Used by teuthology.worker when it notices that a job is broken and should + be skipped. + """ + pass -- 2.39.5