[Git][qa/jenkins.debian.net][master] reproducible Debian live: Show the installer log, if the installer fails to build

Holger Levsen (@holger) gitlab at salsa.debian.org
Wed Mar 20 19:50:11 GMT 2024



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


Commits:
1fad936a by Roland Clobus at 2024-03-20T20:47:26+01:00
reproducible Debian live: Show the installer log, if the installer fails to build

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

- - - - -


1 changed file:

- bin/reproducible_debian_live_build.sh


Changes:

=====================================
bin/reproducible_debian_live_build.sh
=====================================
@@ -201,6 +201,10 @@ elif [ ${RETURNVALUE} -ne 0 -o ${BUILD_OK_FOUND} -ne 0 ]; then
 	SNAPSHOT_TIMESTAMP=$(grep --no-messages "Alternative timestamp:" summary.txt | cut -f 3 -d " ")
 	if [ -z ${SNAPSHOT_TIMESTAMP} ]; then
 		output_echo "Error: the image could not be built, no alternative was proposed."
+		if [ -e chroot/debian-installer/build/dest/build_cdrom_gtk.log ]; then
+			# Perhaps the log from the debian-installer (when present) tells the reason for the failure
+			cat chroot/debian-installer/build/dest/build_cdrom_gtk.log;
+		fi
 		exit 1
 	fi
 	output_echo "Warning: the build failed with ${RETURNVALUE}. The latest snapshot might not be complete (yet). Now trying again using the previous snapshot instead."



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/1fad936a143ffcbfb6f857780bb50cf5f0756fe9

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/1fad936a143ffcbfb6f857780bb50cf5f0756fe9
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/20240320/20f5888a/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list