[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] 2 commits: reproducible Debian: mmdebstrap jobs: improve output

Holger Levsen (@holger) gitlab at salsa.debian.org
Fri Aug 26 20:36:40 BST 2022



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


Commits:
b40cee9e by Holger Levsen at 2022-08-26T21:35:48+02:00
reproducible Debian: mmdebstrap jobs: improve output

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

- - - - -
9b1b92ca by Holger Levsen at 2022-08-26T21:35:59+02:00
Revert "reproducible Debian: enable debug output for mmdebstrap job"

This reverts commit 79810a935275bfe1a46452bf585001626ade087e.

- - - - -


1 changed file:

- bin/reproducible_mmdebstrap.sh


Changes:

=====================================
bin/reproducible_mmdebstrap.sh
=====================================
@@ -4,7 +4,7 @@
 # Copyright 2021-2022 Holger Levsen <holger at layer-acht.org>
 # released under the GPLv2
 
-DEBUG=true
+DEBUG=false
 . /srv/jenkins/bin/common-functions.sh
 common_init "$@"
 
@@ -26,6 +26,7 @@ cleanup() {
 # Init some variables
 export SUITE="$1"
 export SOURCE_DATE_EPOCH="$(date +%s)"
+output_echo "SOURCE_DATE_EPOCH=$SOURCE_DATE_EPOCH"
 export BUILDDIR=$(mktemp --tmpdir=/srv/workspace/ -d -t mmdebstrap-${SUITE}.XXXXXXXX)
 export RESULTSDIR=$(mktemp --tmpdir=/srv/reproducible-results -d -t mmdebstrap-${SUITE}.XXXXXXXX) # accessible in schroots, used to compare results
 
@@ -50,9 +51,9 @@ sha256sum $RESULTSDIR/b1/mmdebstrap/${SUITE}.tar $RESULTSDIR/b2/mmdebstrap/${SUI
 
 # show human readable results
 if diff $RESULTSDIR/b1/mmdebstrap/${SUITE}.tar $RESULTSDIR/b2/mmdebstrap/${SUITE}.tar ; then
-	echo "Success: mmdebstrap of $SUITE is reproducible today."
+	output_echo "Success: mmdebstrap of $SUITE is reproducible today."
 else
-	echo "Warning: mmdebstrap of $SUITE is not reproducible."
+	output_echo "Warning: mmdebstrap of $SUITE is not reproducible."
 	# Run diffoscope on the images
 	output_echo "Calling diffoscope on the results."
 	TIMEOUT="240m"



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/d4aa9f30c848e1e3f64528a995bc2f0e8faef7a6...9b1b92ca64edee9fff043d01f1240f46d15b8b3c

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/d4aa9f30c848e1e3f64528a995bc2f0e8faef7a6...9b1b92ca64edee9fff043d01f1240f46d15b8b3c
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/20220826/583faf6b/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list