[Git][qa/jenkins.debian.net][master] reproducible debian: build: instruct systemd-run to handle diffoscope's exit codes specially

Mattia Rizzolo (@mattia) gitlab at salsa.debian.org
Tue Mar 26 14:37:52 GMT 2024



Mattia Rizzolo pushed to branch master at Debian QA / jenkins.debian.net


Commits:
2913cf26 by Mattia Rizzolo at 2024-03-26T15:37:01+01:00
reproducible debian: build: instruct systemd-run to handle diffoscope's exit codes specially

for now don't handle exit code 2 (diffoscope crash)

Signed-off-by: Mattia Rizzolo <mattia at debian.org>

- - - - -


1 changed file:

- bin/reproducible_build.sh


Changes:

=====================================
bin/reproducible_build.sh
=====================================
@@ -388,10 +388,10 @@ call_diffoscope_on_changes_files() {
 	DIFFOSCOPE_STAMP="/var/log/reproducible-builds/diffoscope_stamp_${SRCPACKAGE}_${SUITE}_${ARCH}_$(date -u +%s)"
 	touch ${DIFFOSCOPE_STAMP}
 	RESULT=0
-	# FIXME: add --collect once checked that it's behavin correctly
 	( systemd-run \
 		--description="diffoscope on $SRCPACKAGE/$VERSION in $SUITE/$ARCH" \
 		--slice=rb-build-diffoscope.slice -u "rb-diffoscope-$WORKER_NAME-$BUILD_ID" \
+		--property="SuccessExitStatus=1 124" \
 		--user --send-sighup --pipe --wait \
 		-E TMPDIR \
 		timeout 155m nice schroot \



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/2913cf26a249cafbc0980c151bdd43bc2495fa77
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/20240326/13428a04/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list