[Qa-jenkins-scm] [jenkins.debian.net] 01/04: reproducible: catch unknown diskspace issues too

Holger Levsen holger at moszumanska.debian.org
Sat Oct 3 23:53:36 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 230b7cdd4de3c2e9ccefea821881422bff0ecd39
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sun Oct 4 01:03:04 2015 +0200

    reproducible: catch unknown diskspace issues too
---
 bin/reproducible_build.sh | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 805b9b4..7a26ea4 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -207,6 +207,12 @@ handle_ftbfs() {
 				return
 			fi
 		done
+		# 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) very probably ran into an diskspace issue. Please investigate, tune handle_ftbfs() and reschedule the package."
+			echo $MESSAGE
+			irc_message "$MESSAGE"
+		fi
 	done
 	calculate_build_duration
 	update_db_and_html "FTBFS"

-- 
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