From 2e0d659c70c2b62509cf7196f73bc7ba0475ccbb Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Wed, 29 Jun 2011 19:01:53 +0200 Subject: [PATCH] buildd: check for "FAILED with exit code" in logs. --- buildd/functions.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/buildd/functions.sh b/buildd/functions.sh index 04d2eb1..db93bbb 100755 --- a/buildd/functions.sh +++ b/buildd/functions.sh @@ -122,6 +122,10 @@ The following errors have been noticed (several might be warnings only): $(grep -i error $FAI_LOGFILES/* /var/log/grml-buildd.std* | grep -ve liberror -ve libgpg-error || echo "* nothing") +The following errors have been noticed in FAI scripts: + +$(grep -B2 "FAILED with exit code" $FAI_LOGFILES/* | echo "* nothing") + The following warnings have been noticed: $(grep -i warn $FAI_LOGFILES/* /var/log/grml-buildd.std* || echo "* nothing") -- 2.1.4