[Git][qa/jenkins.debian.net][master] reproducible Debian: create persistent stamp files when running diffoscope to ease debugging

Holger Levsen (@holger) gitlab at salsa.debian.org
Tue Sep 12 13:46:35 BST 2023



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


Commits:
7949a31c by Holger Levsen at 2023-09-12T14:46:20+02:00
reproducible Debian: create persistent stamp files when running diffoscope to ease debugging

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

- - - - -


1 changed file:

- bin/reproducible_build.sh


Changes:

=====================================
bin/reproducible_build.sh
=====================================
@@ -383,6 +383,8 @@ call_diffoscope_on_changes_files() {
 	esac
 	set -x
 	set +e
+	DIFFOSCOPE_STAMP="/var/log/reproducible-builds/diffoscope_stamp_${SRCPACKAGE}_${SUITE}_${ARCH}_$(date -u +%s)"
+	touch ${DIFFOSCOPE_STAMP}
 	##dbd ( timeout 155m nice schroot \
 	##dbd 	--directory $TMPDIR \
 	##dbd 	--run-session \
@@ -401,6 +403,7 @@ call_diffoscope_on_changes_files() {
 	log_file $TMPLOG  # print diffoscope output
 	##dbd schroot --end-session -c "$session"
 	rm $TMPLOG
+	rm ${DIFFOSCOPE_STAMP}
 	case $RESULT in
 		0)
 			handle_reproducible



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/7949a31c1983b4c62b6b5b5f774b3d8582effeb9
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/20230912/61ac9086/attachment.htm>


More information about the Qa-jenkins-scm mailing list