From 43e9a1ec3545a7c06ac0a829a406d7dd64487819 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 21 Dec 2016 16:28:46 +0100 Subject: reproducible Debian: diskspace issues are not normal Signed-off-by: Holger Levsen --- bin/reproducible_maintenance.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'bin/reproducible_maintenance.sh') diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh index dd083159..3bfd5d7c 100755 --- a/bin/reproducible_maintenance.sh +++ b/bin/reproducible_maintenance.sh @@ -416,11 +416,15 @@ if [ "$HOSTNAME" = "$MAINNODE" ] && [ $(date -u +%H) -eq 0 ] ; then # regular logfile, logrotate is used (and the file aint owned by jenkins) cp $PROBLEM $TMPFILE fi - ( echo "A few entries per day are normal, a few dozens or hundreds probably not." + ( if [ "$(basename $PROBLEM)" = "reproducible-diskspace-issues.log" ; then + echo "diskspace issues should always be investigated." + else + echo "A few entries per day are normal, a few dozens or hundreds probably not." + fi if grep -q https $TMPFILE ; then - echo "$(grep -c https $TMPFILE) entries found:" + echo "$(grep -c https $TMPFILE) entries found:" else - echo "$(grep -c 'stale builds found' $TMPFILE || true) entries found:" + echo "$(grep -c 'stale builds found' $TMPFILE || true) entries found:" fi echo cat $TMPFILE ) | mail -s "$(basename $PROBLEM) found" qa-jenkins-scm@lists.alioth.debian.org -- cgit v1.2.3-54-g00ecf