[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: keep track of diskspace issues and notify daily per mail
Holger Levsen
holger at moszumanska.debian.org
Thu Oct 8 07:03:34 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit b84393b6a9abdf9799167b50e0cc7d03e2f9606b
Author: Holger Levsen <holger at layer-acht.org>
Date: Thu Oct 8 09:02:36 2015 +0200
reproducible: keep track of diskspace issues and notify daily per mail
---
bin/reproducible_build.sh | 2 +-
bin/reproducible_maintenance.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 3d97e3d..8b3edf5 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -214,7 +214,7 @@ handle_ftbfs() {
# notify about unkown diskspace issues where we are not 100% sure yet those are diskspace issues
if zgrep -e "No space left on device" "$BASE/logs/$SUITE/$ARCH/${SRCPACKAGE}_${EVERSION}.build${BUILD}.log.gz" ; then
MESSAGE="$BUILD_URL for ${SRCPACKAGE} (ftbfs in $SUITE/$ARCH) _probably_ had a diskspace issue. Please check, tune handle_ftbfs() and reschedule the package."
- echo $MESSAGE
+ echo $MESSAGE | tee -a /var/log/jenkins/reproducible-diskspace-issues.log
irc_message "$MESSAGE"
fi
done
diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh
index 0b2d9aa..e4cee24 100755
--- a/bin/reproducible_maintenance.sh
+++ b/bin/reproducible_maintenance.sh
@@ -334,7 +334,7 @@ fi
# daily mails
if [ "$HOSTNAME" = "$MAINNODE" ] && [ $(date -u +%H) -eq 0 ] ; then
# once a day, send mail about builder problems
- for PROBLEM in /var/lib/jenkins/stale_builds.txt /var/log/jenkins/reproducible-race-conditions.log ; do
+ for PROBLEM in /var/lib/jenkins/stale_builds.txt /var/log/jenkins/reproducible-race-conditions.log /var/log/jenkins/reproducible-diskspace-issues.log ; do
if [ -s $PROBLEM ] ; then
TMPFILE=$(mktemp --tmpdir=$TEMPDIR maintenance-XXXXXXXXXXXX)
mv $PROBLEM $TMPFILE
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list