From: Michael Prokop Date: Wed, 29 Jun 2011 17:01:53 +0000 (+0200) Subject: buildd: check for "FAILED with exit code" in logs. X-Git-Tag: v0.15.0~14 X-Git-Url: https://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=2e0d659c70c2b62509cf7196f73bc7ba0475ccbb buildd: check for "FAILED with exit code" in logs. --- 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")