[ARVADOS] updated: d71422fa22ffa7c397f9e7e8bc59622002a8ac53

git at public.curoverse.com git at public.curoverse.com
Tue Dec 30 14:49:19 EST 2014


Summary of changes:
 services/api/script/crunch-failure-report.py | 9 ---------
 1 file changed, 9 deletions(-)

       via  d71422fa22ffa7c397f9e7e8bc59622002a8ac53 (commit)
      from  d33b6d694e55d20a61e760ac3cab203ab0c0e2dc (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit d71422fa22ffa7c397f9e7e8bc59622002a8ac53
Author: Tim Pierce <twp at curoverse.com>
Date:   Tue Dec 30 14:48:59 2014 -0500

    4598: remove more dev/debugging features.

diff --git a/services/api/script/crunch-failure-report.py b/services/api/script/crunch-failure-report.py
index 5f1382b..e572053 100755
--- a/services/api/script/crunch-failure-report.py
+++ b/services/api/script/crunch-failure-report.py
@@ -16,9 +16,6 @@ LOG_CONTEXT_LINES = 10
 # Regex that signifies a failed task.
 FAILED_TASK_REGEX = re.compile(' \d+ failure (.*permanent)')
 
-# Regex that signifies a successful job.
-SUCCESSFUL_JOB_REGEX = re.compile('finished')
-
 # List of regexes by which to classify failures.
 JOB_FAILURE_TYPES = [ 'User not found on host' ]
 
@@ -74,12 +71,6 @@ def is_failed_task(logline):
     return FAILED_TASK_REGEX.search(logline) != None
 
 
-def is_successful_job(logline):
-    return SUCCESSFUL_JOB_REGEX.search(logline) != None
-
-def log(s):
-    print >>sys.stderr, "{}: {}".format(datetime.datetime.utcnow(), s)
-
 def main(arguments=None, stdout=sys.stdout, stderr=sys.stderr):
     args = parse_arguments(arguments)
 

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list