Commit e23f278d authored by Holger Levsen's avatar Holger Levsen
Browse files

reproducible Debian: handle false positive diskspace issue when building clisp

parent f613997e
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
#!/bin/bash
# vim: set noexpandtab:

# Copyright 2014-2017 Holger Levsen <holger@layer-acht.org>
# Copyright 2014-2018 Holger Levsen <holger@layer-acht.org>
#         © 2015-2018 Mattia Rizzolo <mattia@debian.org>
# released under the GPLv=2

@@ -271,8 +271,8 @@ handle_ftbfs() {
			fi
		done
		# notify about unkown diskspace issues where we are not 100% sure yet those are diskspace issues
		# ignore syslinux, which is a false positive…
		if zgrep -e "No space left on device" "$DEBIAN_BASE/logs/$SUITE/$ARCH/${SRCPACKAGE}_${EVERSION}.build${BUILD}.log.gz" && [ "$SRCPACKAGE" != "syslinux" ] ; then
		# ignore syslinux and clisp, which are false positives
		if zgrep -e "No space left on device" "$DEBIAN_BASE/logs/$SUITE/$ARCH/${SRCPACKAGE}_${EVERSION}.build${BUILD}.log.gz" && [ "$SRCPACKAGE" != "syslinux" ] && [ "$SRCPACKAGE" != "clisp" ] ; then
			MESSAGE="${BUILD_URL}console.log for ${SRCPACKAGE} (ftbfs in $SUITE/$ARCH) _probably_ had a diskspace issue on $node. Please check, tune handle_ftbfs() and reschedule the package."
			echo $MESSAGE | tee -a /var/log/jenkins/reproducible-diskspace-issues.log
			irc_message debian-reproducible "$MESSAGE"