From 7beb69b9331d4f2800094723c05b98c0a17e14a7 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Mon, 7 Jul 2014 08:24:53 -0400 Subject: [PATCH] ensure grenade logs exist It turns out that we broke grenade logs being indexed at all. This will at least give us some warning on looking for them in jobs. Change-Id: Ic6023b9c2cf64ac57eb023a7c6d60c2d1d731550 --- elastic_recheck/elasticRecheck.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/elastic_recheck/elasticRecheck.py b/elastic_recheck/elasticRecheck.py index 7e6c1e4f..eadf32aa 100644 --- a/elastic_recheck/elasticRecheck.py +++ b/elastic_recheck/elasticRecheck.py @@ -49,6 +49,10 @@ def required_files(job): files.extend([ 'logs/screen-n-net.txt', ]) + # make sure that grenade logs exist + if re.match("grenade", job): + files.extend(['logs/grenade.sh.txt']) + return files