[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] 2 commits: reproducible Debian: do not wrongly detect diskspace issues on openssl builds

Holger Levsen (@holger) gitlab at salsa.debian.org
Tue Jun 8 14:44:15 BST 2021



Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
51a40c40 by Holger Levsen at 2021-06-08T15:43:39+02:00
reproducible Debian: do not wrongly detect diskspace issues on openssl builds

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -
bc6c773f by Holger Levsen at 2021-06-08T15:43:39+02:00
reproducible Debian: refactoring

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- bin/reproducible_build.sh


Changes:

=====================================
bin/reproducible_build.sh
=====================================
@@ -257,12 +257,18 @@ handle_ftbfs() {
 				handle_enospace $node
 			fi
 		done
-		# notify about unkown diskspace issues where we are not 100% sure yet those are diskspace issues
-		# ignore syslinux, clisp, klibc and glibc 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" ] && [ "$SRCPACKAGE" != "klibc" ] && [ "$SRCPACKAGE" != "glibc" ]; 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"
+		# notify about unknown diskspace issues where we are not 100% sure yet those are diskspace issues
+		if zgrep -e "No space left on device" "$DEBIAN_BASE/logs/$SUITE/$ARCH/${SRCPACKAGE}_${EVERSION}.build${BUILD}.log.gz" ; then
+			case "$SRCPACKAGE" in
+				syslinux|clisp|klibc|openssl|glibc)
+					# do nothing, these are usually false-positives…
+					;;
+				*)
+					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"
+					;;
+			esac
 		fi
 	done
 	calculate_build_duration



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/24aac7016a38246815b99d2d8e64b5bdcd0c6652...bc6c773f9ba87c8244c877f409e87f718d3b9c83

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/24aac7016a38246815b99d2d8e64b5bdcd0c6652...bc6c773f9ba87c8244c877f409e87f718d3b9c83
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20210608/343943d3/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list